diff --git a/admin/cat_list.php b/admin/cat_list.php index 08446cf74..310cf78a7 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -236,8 +236,8 @@ while (list ($id,$category) = each($categories)) $query = 'SELECT COUNT(id) as sub_cats FROM ' . CATEGORIES_TABLE . ' WHERE id_uppercat = '.$category['id']; $result = mysql_fetch_array(mysql_query( $query )); $category_image = ($result['sub_cats']) ? - '' : - ''; + '' : + ''; } if ( !isset( $category['dir'] ) ) $category['dir'] = '';