Changeset 3641 for branches/2.0/include/functions_user.inc.php
- Timestamp:
- Jul 20, 2009, 7:19:37 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/functions_user.inc.php
r3623 r3641 333 333 { // for non admins we forbid categories with no image (feature 1053) 334 334 $forbidden_ids = array(); 335 foreach ($user_cache_cats as $cat _id => $cat)335 foreach ($user_cache_cats as $cat) 336 336 { 337 337 if ($cat['count_images']==0) 338 338 { 339 array_push($forbidden_ids, $cat _id);340 unset( $user_cache_cats[$cat _id] );339 array_push($forbidden_ids, $cat['cat_id']); 340 unset( $user_cache_cats[$cat['cat_id']] ); 341 341 } 342 342 }
Note: See TracChangeset
for help on using the changeset viewer.