projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1409b0
)
Fix undefined error
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 22 Jan 2010 18:49:34 +0000
(11:49 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 22 Jan 2010 18:49:34 +0000
(11:49 -0700)
imp/lib/Auth.php
patch
|
blob
|
history
diff --git
a/imp/lib/Auth.php
b/imp/lib/Auth.php
index
8f7b8a5
..
86135ff
100644
(file)
--- a/
imp/lib/Auth.php
+++ b/
imp/lib/Auth.php
@@
-33,7
+33,8
@@
class IMP_Auth
{
// Do 'horde' authentication.
$imp_app = $GLOBALS['registry']->getApiInstance('imp', 'application');
- if ($imp_app->initParams['authentication'] == 'horde') {
+ if (!empty($imp_app->initParams['authentication']) &&
+ ($imp_app->initParams['authentication'] == 'horde')) {
if (Horde_Auth::getAuth()) {
return false;
}