projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aab4ecb
)
No auth, if $session doesn't exist.
author
Jan Schneider
<jan@horde.org>
Tue, 9 Nov 2010 16:26:17 +0000
(17:26 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 9 Nov 2010 16:26:17 +0000
(17:26 +0100)
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
5d38116
..
19a3aea
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-1824,6
+1824,10
@@
class Horde_Registry
{
global $session;
+ if (!isset($session)) {
+ return false;
+ }
+
if ($format == 'original') {
return $session->exists('horde', 'auth/authId')
? $session->get('horde', 'auth/authId')