projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7750dd5
)
Fix IMP_Indices::next() with multiple mailboxes
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 17 Aug 2010 06:25:55 +0000
(
00:25
-0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 17 Aug 2010 06:26:08 +0000
(
00:26
-0600)
imp/lib/Indices.php
patch
|
blob
|
history
diff --git
a/imp/lib/Indices.php
b/imp/lib/Indices.php
index
4d04385
..
04c7ca8
100644
(file)
--- a/
imp/lib/Indices.php
+++ b/
imp/lib/Indices.php
@@
-196,8
+196,8
@@
class IMP_Indices implements Iterator
public function next()
{
if ((next($this->_indices[$this->key()]) === false) &&
- (
($key = next($this->_indices)
) !== false)) {
- reset($this->_indices[$
key
]);
+ (
next($this->_indices
) !== false)) {
+ reset($this->_indices[$
this->key()
]);
}
}