hint
Posted by Anonymous on Nov 15, 2007 @ 04:06PM UTCReplies
-
Reply Re: hint
Hi Alex,
_getPageRange() setting $start to 0 should never occur thanks to lines 125 to 127:
if ($start < 1) {
$start = 1;
}I'm not sure I understood your issue well, would you mind sending me more details either via replying this comment or by mail at geoffrey+riskle@zubrowka.org ?
- Wiki page
- Home
Reply to Message
Hi geoffrey,
I just installed riskle and foudn a small error...at least I think I have.
In Riskle_Db_Table_Paginate:
$_pageRangeLength = 10
$this->_getPageCount() = 10
the function "_getPageRange()" set $start to "0"
to solve i changed line 127 and added a "-1" to the end...
$stop = $start + $this->_pageRangeLength -1;
now it works! :D
greetings
Alex