projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34dcd13
)
Missing variable.
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Dec 2008 20:00:44 +0000
(13:00 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Dec 2008 20:01:22 +0000
(13:01 -0700)
imp/lib/base.php
patch
|
blob
|
history
diff --git
a/imp/lib/base.php
b/imp/lib/base.php
index
21fa974
..
3f64b6a
100644
(file)
--- 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';