mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Fixed PHP warnings on disconnects
This commit is contained in:
parent
c32a28431d
commit
a48625a0f6
@ -94,7 +94,7 @@ class db {
|
||||
// This only affects systems not using persistant connections
|
||||
function disconnect()
|
||||
{
|
||||
return mysql_close($this->Link_ID);
|
||||
return @mysql_close($this->Link_ID);
|
||||
}
|
||||
|
||||
function limit($start)
|
||||
|
@ -76,7 +76,7 @@ class db {
|
||||
// This only affects systems not using persistant connections
|
||||
function disconnect()
|
||||
{
|
||||
return pg_close($this->Link_ID);
|
||||
return @pg_close($this->Link_ID);
|
||||
}
|
||||
|
||||
// I added the line and file section so we can have better error reporting. (jengo)
|
||||
|
Loading…
Reference in New Issue
Block a user