mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-13 13:01:27 +01:00
Fix: On ne libre pas le resultset si il n'existe pas
This commit is contained in:
@@ -470,7 +470,6 @@ class DoliDb
|
||||
return 'DB_ERROR_FAILED_TO_CONNECT';
|
||||
}
|
||||
else {
|
||||
// Si il y a eu echec de connection, $this->db n'est pas valide.
|
||||
if (isset($this->errorcode_map[mysql_errno($this->db)])) {
|
||||
return $this->errorcode_map[mysql_errno($this->db)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user