From 5abfe8f04dbac11cf2f8fdcacbc5fb0b25339f44 Mon Sep 17 00:00:00 2001 From: The Kabal Date: Mon, 20 Sep 2021 08:50:04 -0400 Subject: [PATCH] Fix improper setup --- classes/Db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Db.php b/classes/Db.php index cd424d76..f70a7ad8 100644 --- a/classes/Db.php +++ b/classes/Db.php @@ -69,7 +69,7 @@ public function initAdodb(): object $db_host .= ":$db_port"; } - $old_db = null; + $old_db = new \stdClass(); // Attempt to connect to the database try {