Changeset 1667 in ExiteCMS for trunk/includes/search/search.downloads.php
- Timestamp:
- 08/21/08 22:23:11 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/search/search.downloads.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/search/search.downloads.php
r1626 r1667 136 136 137 137 // now add a query limit, make sure not to overshoot the limit requested 138 if ($limit > 0) { 139 if ($variables['rows']-$rowstart > $settings['numofthreads']) { 140 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 141 } else { 142 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 143 } 138 if ($variables['rows']-$rowstart > $settings['numofthreads']) { 139 $sql .= " LIMIT ".$rowstart.",".$settings['numofthreads']; 140 } else { 141 $sql .= " LIMIT ".$rowstart.",".($variables['rows']-$rowstart); 144 142 } 145 143 $rptresult = dbquery($sql);
Note: See TracChangeset
for help on using the changeset viewer.
