Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

758
 
877
 
877
 
category_tree.php
_> 11 <?php
  22 /*
<> 3 -  $Id: category_tree.php 758 2006-08-23 12:30:07Z hpdl $
   3+  $Id: category_tree.php 877 2006-08-30 03:08:51Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
284284 
  285285       foreach ($this->data as $parent => $categories) {
  286286         foreach ($categories as $id => $info) {
<> 287 -          if ($totals[$id] > 0) {
   287+          if (isset($totals[$id]) && ($totals[$id] > 0)) {
<_ 288288             $this->data[$parent][$id]['count'] = $totals[$id];
  289289 
  290290             $parent_category = $parent;