projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd1c5ed
)
Ignore prompt entires when parsing for imap config
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 29 Jan 2010 17:42:35 +0000
(10:42 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 29 Jan 2010 18:21:20 +0000
(11:21 -0700)
imp/lib/Imap.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imap.php
b/imp/lib/Imap.php
index
6e8bf39
..
414c269
100644
(file)
--- a/
imp/lib/Imap.php
+++ b/
imp/lib/Imap.php
@@
-102,6
+102,12
@@
class IMP_Imap
}
if (is_null($server)) {
+ /* Remove any prompt entires (underscores in front of key). */
+ foreach (array_keys($servers) as $key) {
+ if ($key[0] == '_') {
+ unset($servers[$key]);
+ }
+ }
return $servers;
}