projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e90118
)
avoid undefined index warnings
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 11 Jul 2010 00:35:03 +0000
(20:35 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 11 Jul 2010 00:35:03 +0000
(20:35 -0400)
kronolith/lib/Kronolith.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Kronolith.php
b/kronolith/lib/Kronolith.php
index
41e690e
..
628afd0
100644
(file)
--- a/
kronolith/lib/Kronolith.php
+++ b/
kronolith/lib/Kronolith.php
@@
-1924,7
+1924,7
@@
class Kronolith
throw new Kronolith_Exception(_("You must specify a name and a URL."));
}
- if (
strlen($info['username']) || strlen
($info['password'])) {
+ if (
!empty($info['username']) || !empty
($info['password'])) {
$key = $GLOBALS['registry']->getAuthCredential('password');
if ($key) {
$secret = $GLOBALS['injector']->getInstance('Horde_Secret');