Changeset 1106 for trunk/picture.php
- Timestamp:
- Mar 27, 2006, 11:19:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r1094 r1106 100 100 */ 101 101 102 if (isset($_GET['action']) )102 if (isset($_GET['action']) and !is_adviser()) 103 103 { 104 104 switch ($_GET['action']) … … 140 140 case 'set_as_representative' : 141 141 { 142 if (is_admin() and isset($page['category']) and !is_adviser())142 if (is_admin() and isset($page['category'])) 143 143 { 144 144 $query = ' … … 160 160 case 'add_to_caddie' : 161 161 { 162 if (!is_adviser()) 163 { 164 fill_caddie(array($page['image_id'])); 165 } 162 fill_caddie(array($page['image_id'])); 166 163 redirect($url_self); 167 164 break;
Note: See TracChangeset
for help on using the changeset viewer.