projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150496c
)
Fix page determination.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 18 Dec 2008 18:29:30 +0000
(11:29 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 18 Dec 2008 18:29:30 +0000
(11:29 -0700)
imp/lib/Mailbox.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mailbox.php
b/imp/lib/Mailbox.php
index
cd05e02
..
535431c
100644
(file)
--- a/
imp/lib/Mailbox.php
+++ b/
imp/lib/Mailbox.php
@@
-513,7
+513,7
@@
class IMP_Mailbox
$ret['page'] = 1;
}
- $ret['begin'] = (($
page
- 1) * $page_size) + 1;
+ $ret['begin'] = (($
ret['page']
- 1) * $page_size) + 1;
$ret['end'] = $ret['begin'] + $page_size - 1;
if ($ret['end'] > $ret['msgcount']) {
$ret['end'] = $ret['msgcount'];