Changeset 4157 for extensions/event_cats/main.inc.php
- Timestamp:
- Oct 31, 2009, 4:59:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/main.inc.php
r4092 r4157 140 140 if (array_key_exists($ec_cat, $ec_lists['categories'])) { 141 141 if (isset($ec_img)) { 142 if (mysql_fetch_row(pwg_query(' 143 SELECT * 144 FROM `'.IMAGE_CATEGORY_TABLE.'` 145 WHERE `category_id` = '.$ec_cat.' 146 AND `image_id` = '.$ec_img 147 ))) { 142 if (ec_image_exists($ec_cat, $ec_img)) { 148 143 redirect(PHPWG_ROOT_PATH.'picture.php?/'.$ec_img.'/category/'.$ec_cat); 149 144 }
Note: See TracChangeset
for help on using the changeset viewer.