Changeset 17017 for trunk/include/ws_functions.inc.php
- Timestamp:
- Jul 25, 2012, 5:14:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r15852 r17017 206 206 207 207 list($max_id, $image_count) = pwg_db_fetch_row( pwg_query('SELECT MAX(id)+1, COUNT(*) FROM '.IMAGES_TABLE) ); 208 209 if (0 == $image_count) 210 { 211 return array(); 212 } 213 208 214 $start_id = intval($params['prev_page']); 209 215 if ($start_id<=0)
Note: See TracChangeset
for help on using the changeset viewer.