diff options
Diffstat (limited to 'boot.php')
-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(); } |