diff options
-rwxr-xr-x | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1669,7 +1669,7 @@ function goaway($s) { function shutdown() { global $db; - if($db) + if(is_object($db) && $db->connected) $db->close(); } |
index : volse-hubzilla.git | ||
Volse Hubzilla -- soft fork of main Hubzilla core for Volse | Harald Eilertsen |
aboutsummaryrefslogtreecommitdiffstats |
-rwxr-xr-x | boot.php | 2 |
@@ -1669,7 +1669,7 @@ function goaway($s) { function shutdown() { global $db; - if($db) + if(is_object($db) && $db->connected) $db->close(); } |