From 0f9591745fdc879ed7c9714023cfaae5d475055c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 5 Dec 2008 13:00:44 -0700 Subject: [PATCH] Missing variable. --- imp/lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/base.php b/imp/lib/base.php index 21fa97462..3f64b6a5f 100644 --- a/imp/lib/base.php +++ b/imp/lib/base.php @@ -47,7 +47,7 @@ require_once 'Horde/Autoloader.php'; Horde_Autoloader::addClassPattern('/^IMP_/', IMP_BASE . '/lib/'); // Registry. -$s_ctrl = null; +$s_ctrl = 0; switch (Util::nonInputVar('session_control')) { case 'netscape': if ($browser->isBrowser('mozilla')) { @@ -63,7 +63,7 @@ case 'readonly': $s_ctrl = HORDE_SESSION_READONLY; break; } -$registry = &Registry::singleton(); +$registry = &Registry::singleton($s_ctrl); // Need to explicitly load IMP.php require_once IMP_BASE . '/lib/IMP.php'; -- 2.11.0