FishEye
Search
Changelog
Browse
Help
osCommerce
:/
trunk
/
oscommerce
/
includes
/
classes
/
category_tree.php
Quick Search:
Mode
Side-by-Side
Unified
No wrapping
Soft wrap
Context
Displaying 3 lines of context.
None
| Less |
More
|
Full
Other Diffs
1862
1860
1675
1672
1498
1497
1267
1265
1263
1262
1101
994
988
979
978
877
876
758
757
754
746
733
700
686
678
638
621
383
377
368
345
299
199
153
151
43
5
1
1862
1860
1675
1672
1498
1497
1267
1265
1263
1262
1101
994
988
979
978
877
876
758
757
754
746
733
700
686
678
638
621
383
377
368
345
299
199
153
151
43
5
1
Ignore
Blank Lines
Whitespace:
None
Significant
All
Diff
758
877
877
category_tree.php
1
1
<?php
2
2
/*
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 $
4
4
5
5
osCommerce, Open Source E-Commerce Solutions
6
6
http://www.oscommerce.com
…
284
284
285
285
foreach ($this->data as $parent => $categories) {
286
286
foreach ($categories as $id => $info) {
287
-
if ($totals[$id] > 0) {
287
+
if (
isset
(
$totals[$id]
)
&
&
(
$
totals
[
$
id
]
> 0)
)
{
288
288
$this->data[$parent][$id]['count'] = $totals[$id];
289
289
290
290
$parent_category = $parent;