projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20da680
)
Fix rebuilding of mailbox on message action
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 20 Feb 2009 21:03:43 +0000
(14:03 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 20 Feb 2009 21:03:43 +0000
(14:03 -0700)
imp/lib/Mailbox.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mailbox.php
b/imp/lib/Mailbox.php
index
998ab27
..
145f3a5
100644
(file)
--- a/
imp/lib/Mailbox.php
+++ b/
imp/lib/Mailbox.php
@@
-562,6
+562,10
@@
class IMP_Mailbox
case 'uid':
$this->_arrayIndex = $this->getArrayIndex($data);
+ if (empty($this->_arrayIndex)) {
+ $this->_rebuild(true);
+ $this->_arrayIndex = $this->getArrayIndex($data);
+ }
break;
}
}
@@
-597,7
+601,7
@@
class IMP_Mailbox
(!is_null($this->_arrayIndex) &&
!$this->_searchmbox &&
!$this->getIMAPIndex(1))) {
- $this->_
build = false
;
+ $this->_
sorted = null
;
$this->_buildMailbox();
}
}