mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
Fix: Error in close function
This commit is contained in:
@@ -404,7 +404,7 @@ class DoliDb
|
||||
function close()
|
||||
{
|
||||
dol_syslog("DoliDB::disconnect",LOG_DEBUG);
|
||||
return pg_close($this->db);
|
||||
return $this->db?pg_close($this->db):0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user