2
0
forked from Wavyzz/dolibarr

Fix: Error in close function

This commit is contained in:
Laurent Destailleur
2010-09-04 12:19:47 +00:00
parent 24ce9abe99
commit e3c27e2a69
4 changed files with 4 additions and 4 deletions

View File

@@ -281,7 +281,7 @@ class DoliDb
function close()
{
dol_syslog("DoliDB::disconnect",LOG_DEBUG);
return mysql_close($this->db);
return ($this->db?mysql_close($this->db):0);
}