From ece4d3f4fbf6901678e7e08e067c12a21a7a56f4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 19 Jul 2018 17:05:17 +0200 Subject: [PATCH 1/1] Issue 5407: Workers didn't start anymore (#5409) --- include/dba.php | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 2.39.2