Changeset 3136 for trunk/include/category_default.inc.php
- Timestamp:
- Feb 13, 2009, 2:01:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_default.inc.php
r3128 r3136 135 135 136 136 if ($conf['show_thumbnail_caption']) 137 { 138 // name of the picture 137 {// name of the picture 139 138 if (isset($row['name']) and $row['name'] != '') 140 139 { … … 167 166 if ( isset($nb_comments_of) ) 168 167 { 169 $row['nb_comments'] = isset($nb_comments_of[$row['id']]) 170 ? (int)$nb_comments_of[$row['id']] : 0; 171 $tpl_var['NB_COMMENTS'] = $row['nb_comments']; 168 $tpl_var['NB_COMMENTS'] = (int)@$nb_comments_of[$row['id']]; 172 169 } 173 170
Note: See TracChangeset
for help on using the changeset viewer.