diff --git a/library/framework/common/mysql.php b/library/framework/common/mysql.php index 194e8e69..2d693af7 100644 --- a/library/framework/common/mysql.php +++ b/library/framework/common/mysql.php @@ -20,8 +20,7 @@ class WDB { if ($database=='') $this->database=MYSQL_DEFAULT_DB; else $this->database=$database; - $this->con_id = mysql_pconnect($this->host, $this->user, -$this->password); + $this->con_id = mysql_pconnect($this->host, $this->user, $this->password); if (!($this->con_id === false)) { if (mysql_select_db($this->database, $this->con_id) === false) { echo date('Y/m/d - H:i:s') ." - ERREUR ".mysql_errno()." : Connection à la base de données impossible !".EOL;