From e9b6a49e5af3a866577c577db715ebed67532caa Mon Sep 17 00:00:00 2001 From: Richard Underwood Date: Wed, 4 Jan 2017 11:57:50 +0000 Subject: [PATCH] Missing global --- includes/database.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/database.inc.php b/includes/database.inc.php index 68a6be1..a348c45 100644 --- a/includes/database.inc.php +++ b/includes/database.inc.php @@ -20,7 +20,7 @@ function init_db() { } function open_db() { - global $authdb, $db; + global $authdb, $db, $db_version; if (!isset($db)) { $db = new SQLite3($authdb, SQLITE3_OPEN_READWRITE);