From d2a3035dbd589a9d8339b358a5ef6dff7a9ad2a5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 25 Jan 2007 01:51:26 +0000 Subject: [PATCH] Make the error message that occurs when a database is invalid actually work right --- db_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_mysql.php b/db_mysql.php index 5aff254..21ea808 100644 --- a/db_mysql.php +++ b/db_mysql.php @@ -137,7 +137,7 @@ class DB_MySQL extends DB_Abstract { if (!mysql_select_db($database, $link)) { - $this->error('Cannot use the database \'' . $this->database . '\''); + $this->error('Cannot use the database \'' . $database . '\''); } } -- 2.22.5