diff options
author | redmatrix <git@macgirvin.com> | 2016-05-15 17:54:25 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-15 17:54:25 -0700 |
commit | 894114bfbdb31f9678837c7e1a234638afba3ca5 (patch) | |
tree | 14d75331cdc54e70045144782b9982f2acf7ff57 | |
parent | e8ad16cf2a9121c4d0474fb3195e46342b1e2628 (diff) | |
download | volse-hubzilla-894114bfbdb31f9678837c7e1a234638afba3ca5.tar.gz volse-hubzilla-894114bfbdb31f9678837c7e1a234638afba3ca5.tar.bz2 volse-hubzilla-894114bfbdb31f9678837c7e1a234638afba3ca5.zip |
be a bit more precise
-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(); } |