projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e2567
)
Fix default messages on a page.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 9 Dec 2008 07:18:37 +0000
(
00:18
-0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 9 Dec 2008 07:18:37 +0000
(
00:18
-0700)
imp/lib/Mailbox.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mailbox.php
b/imp/lib/Mailbox.php
index
a758aa3
..
656d21c
100644
(file)
--- a/
imp/lib/Mailbox.php
+++ b/
imp/lib/Mailbox.php
@@
-440,9
+440,8
@@
class IMP_Mailbox
$ret = array('msgcount' => count($this->_sorted));
- if (is_null($page_size) &&
- ($page_size != $GLOBALS['prefs']->getValue('max_msgs'))) {
- $page_size = 20;
+ if (is_null($page_size)) {
+ $page_size = $GLOBALS['prefs']->getValue('max_msgs');
}
if ($ret['msgcount'] > $page_size) {