Changeset 1751 for trunk/gregarius/cls
- Timestamp:
- 08/29/07 14:20:49 (12 months ago)
- Files:
-
- 1 modified
-
trunk/gregarius/cls/items.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/items.php
r1679 r1751 540 540 541 541 $si = $this -> page * $this -> itemsPerPage; 542 parent::populate($sqlWhere, $sqlOrder, $si, $this -> itemsPerPage, $hint, $includeDeprecated);542 parent::populate($sqlWhere, $sqlOrder, $si, ($itemCount > 0 ? $this -> itemsPerPage : $itemCount), $hint, $includeDeprecated); 543 543 544 544 $sql = "select count(*) as cnt "
