Changeset 280 for branches/release-1_3/include
- Timestamp:
- Jan 15, 2004, 6:06:45 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/include/functions_category.inc.php
r276 r280 407 407 { 408 408 pwg_debug( 'start initialize_category' ); 409 global $page,$lang,$user,$conf ;409 global $page,$lang,$user,$conf, $where_append; 410 410 411 411 if ( isset( $page['cat'] ) ) … … 538 538 $conf['order_by'] = ' ORDER BY hit DESC, file ASC'; 539 539 $page['cat_nb_images'] = $conf['top_number']; 540 if ( $page['start'] + $user['nb_image_page'] >= $conf['top_number'])540 if ( isset($page['start']) && ($page['start']+ $user['nb_image_page'] >= $conf['top_number'] )) 541 541 { 542 542 $page['nb_image_page'] = $conf['top_number'] - $page['start']; … … 544 544 } 545 545 546 if ( $query != '')546 if ( isset($query)) 547 547 { 548 548 $result = mysql_query( $query );
Note: See TracChangeset
for help on using the changeset viewer.