Changeset 11996 for trunk/include/category_default.inc.php
- Timestamp:
- Aug 26, 2011, 1:02:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_default.inc.php
r11981 r11996 105 105 ); 106 106 107 if (isset($nb_comments_of) ) 108 { 109 $row['nb_comments'] = (int)@$nb_comments_of[$row['id']]; 110 } 111 107 112 $tpl_var = 108 113 array( … … 167 172 $tpl_var['NAME'] = $name; 168 173 169 if ( isset($nb_comments_of))174 if (isset($row['nb_comments'])) 170 175 { 171 $tpl_var['NB_COMMENTS'] = (int)@$nb_comments_of[$row['id']];176 $tpl_var['NB_COMMENTS'] = $row['nb_comments']; 172 177 } 173 178
Note: See TracChangeset
for help on using the changeset viewer.