be specific

This commit is contained in:
redmatrix 2016-05-15 17:56:13 -07:00
parent 90353d90dc
commit a0dd03ea0e

View File

@ -1656,7 +1656,7 @@ function goaway($s) {
function shutdown() { function shutdown() {
global $db; global $db;
if($db) if(is_object($db) && $db->connected)
$db->close(); $db->close();
} }