From d7ee4237295096e7fa77ecfa8cdce96bf5933cfd Mon Sep 17 00:00:00 2001 From: sjstoelting Date: Wed, 4 Apr 2012 21:32:19 +0200 Subject: [PATCH] Solved an error with a duplicated $ --- mysql/ez_sql_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/ez_sql_mysql.php b/mysql/ez_sql_mysql.php index 4a55aea..4093e84 100755 --- a/mysql/ez_sql_mysql.php +++ b/mysql/ez_sql_mysql.php @@ -136,7 +136,7 @@ public function connect($dbuser='', $dbpassword='', $dbhost='localhost', $charse if ( empty($this->dbuser) ) { $this->register_error($this->ezsql_mysql_str[1] . ' in ' . __FILE__ . ' on line ' . __LINE__); $this->show_errors ? trigger_error($this->ezsql_mysql_str[1], E_USER_WARNING) : null; - } else if ( ! $this->dbh = @mysql_connect($this->dbhost, $$this->dbuser, $this->dbpassword, true, 131074) ) { + } else if ( ! $this->dbh = @mysql_connect($this->dbhost, $this->dbuser, $this->dbpassword, true, 131074) ) { // Try to establish the server database handle $this->register_error($this->ezsql_mysql_str[2] . ' in ' . __FILE__ . ' on line ' . __LINE__); $this->show_errors ? trigger_error($this->ezsql_mysql_str[2], E_USER_WARNING) : null;