Changeset 11739 for trunk/include/category_cats.inc.php
- Timestamp:
- Jul 14, 2011, 12:03:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r11591 r11739 123 123 if (isset($image_id)) 124 124 { 125 if ($ row['user_representative_picture_id'] != $image_id)125 if ($conf['representative_cache_on_subcats'] and $row['user_representative_picture_id'] != $image_id) 126 126 { 127 127 $user_representative_updates_for[ $user['id'].'#'.$row['id'] ] = $image_id; … … 213 213 array_push($new_image_ids, $image_id); 214 214 } 215 216 $user_representative_updates_for[ $user['id'].'#'.$category['id'] ] = $image_id; 215 216 if ($conf['representative_cache_on_level']) 217 { 218 $user_representative_updates_for[ $user['id'].'#'.$category['id'] ] = $image_id; 219 } 217 220 218 221 $category['representative_picture_id'] = $image_id;
Note: See TracChangeset
for help on using the changeset viewer.