aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-15 13:20:17 -0700
committerredmatrix <git@macgirvin.com>2016-05-15 13:20:17 -0700
commitc3090d5480ef000531a8beb820ba97cc50ac21d7 (patch)
tree54225d95c8a0d4458218c2a4648b579c96b6b368
parentfffeca59d00d8d0cd45cda458eadab3df88711a9 (diff)
downloadvolse-hubzilla-c3090d5480ef000531a8beb820ba97cc50ac21d7.tar.gz
volse-hubzilla-c3090d5480ef000531a8beb820ba97cc50ac21d7.tar.bz2
volse-hubzilla-c3090d5480ef000531a8beb820ba97cc50ac21d7.zip
issue #387
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 6b49e795c..27bf921ce 100755
--- a/boot.php
+++ b/boot.php
@@ -1656,7 +1656,8 @@ function goaway($s) {
function shutdown() {
global $db;
- $db->close();
+ if($db)
+ $db->close();
}
/**