From: Michael Vogel Date: Thu, 19 Jul 2018 15:05:17 +0000 (+0200) Subject: Issue 5407: Workers didn't start anymore (#5409) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ece4d3f4fbf6901678e7e08e067c12a21a7a56f4;p=friendica.git Issue 5407: Workers didn't start anymore (#5409) --- diff --git a/include/dba.php b/include/dba.php index 0b5c822531..954c3a7cbb 100644 --- a/include/dba.php +++ b/include/dba.php @@ -247,6 +247,10 @@ class dba { public static function connected() { $connected = false; + if (is_null(self::$db)) { + return false; + } + switch (self::$driver) { case 'pdo': $r = dba::p("SELECT 1");