From 1e9d479f35617fabb757624ab6f93f82d3834ec5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 18 Apr 2020 15:27:40 -0400 Subject: [PATCH] Restore the datastore object on the $bugsys registry. This is still referenced internally via APIs. --- includes/init.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/init.php b/includes/init.php index 1bb9e6c..5b0f685 100644 --- a/includes/init.php +++ b/includes/init.php @@ -121,6 +121,7 @@ while ($store = $db->fetch_array($datastoretemp)) $bugsys->options = bugdar::$datastore['setting']; $bugsys->options['columnoptions'] = unserialize($bugsys->options['columnoptions']); +$bugsys->datastore = &bugdar::$datastore; unset(bugdar::$datastore['setting']); bugdar::$options = $bugsys->options; -- 2.43.5