diff options
-rwxr-xr-x | boot.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -46,7 +46,7 @@ require_once('include/account.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); -define ( 'STD_VERSION', '1.6.3' ); +define ( 'STD_VERSION', '1.6.4' ); define ( 'ZOT_REVISION', 1 ); define ( 'DB_UPDATE_VERSION', 1168 ); @@ -1656,7 +1656,8 @@ function goaway($s) { function shutdown() { global $db; - $db->close(); + if($db) + $db->close(); } /** |