From 2e918adb7623e0a2ab671efa133532eb53121175 Mon Sep 17 00:00:00 2001 From: secretr Date: Thu, 28 Oct 2010 13:33:05 +0000 Subject: [PATCH] API should do extra load() call when initializing core system preferences --- class2.php | 1 + 1 file changed, 1 insertion(+) diff --git a/class2.php b/class2.php index c314e225f..4bf9be3c2 100644 --- a/class2.php +++ b/class2.php @@ -379,6 +379,7 @@ $sysprefs = new prefs; // Check core preferences //FIXME - message_handler is dying after message_handler(CRITICAL_ERROR) call +e107::getConfig()->load(); // extra load, required if mysql handler already called e107::getConfig() if(!e107::getConfig()->hasData()) { // Core prefs error - admin log