Changeset 2327 for trunk/picture.php
- Timestamp:
- May 3, 2008, 3:52:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r2309 r2327 36 36 } 37 37 38 $page['rank_of'] = array_flip($page['items']); 39 38 40 // if this image_id doesn't correspond to this category, an error message is 39 41 // displayed, and execution is stopped 40 if ( !in_array($page['image_id'], $page['items']))42 if ( !isset($page['rank_of'][$page['image_id']]) ) 41 43 { 42 44 page_not_found( … … 100 102 // | initialization | 101 103 // +-----------------------------------------------------------------------+ 102 103 $page['rank_of'] = array_flip($page['items']);104 104 105 105 // caching first_rank, last_rank, current_rank in the displayed … … 868 868 include(PHPWG_ROOT_PATH.'include/picture_metadata.inc.php'); 869 869 } 870 //------------------------------------------------------------ log informations871 pwg_log($picture['current']['id'], 'picture');872 870 873 871 include(PHPWG_ROOT_PATH.'include/page_header.php'); 874 872 trigger_action('loc_end_picture'); 875 873 $template->pparse('picture'); 874 //------------------------------------------------------------ log informations 875 pwg_log($picture['current']['id'], 'picture'); 876 876 include(PHPWG_ROOT_PATH.'include/page_tail.php'); 877 877 ?>
Note: See TracChangeset
for help on using the changeset viewer.