Ignore:
Timestamp:
Feb 13, 2009, 2:01:03 PM (15 years ago)
Author:
rvelices
Message:
  • moved check upgrade feed code to admin/include/functions_upgrade.php
  • refactored some code (shorter and somehow faster - but nothing revolutionary)
  • decrease lost space in permalinks.tpl and hard coded column width (was illisible)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r3128 r3136  
    135135
    136136  if ($conf['show_thumbnail_caption'])
    137   {
    138     // name of the picture
     137  {// name of the picture
    139138    if (isset($row['name']) and $row['name'] != '')
    140139    {
     
    167166  if ( isset($nb_comments_of) )
    168167  {
    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']];
    172169  }
    173170
Note: See TracChangeset for help on using the changeset viewer.