@@ -24,7 +24,8 @@ |
||
24 | 24 | $parent != $category['id'] // infinite loop protection |
25 | 25 | ) { |
26 | 26 | $parent = $Categories->get($category['parent']); |
27 | - if ($parent['parent'] == $category['id']) { // infinite loop protection |
|
27 | + if ($parent['parent'] == $category['id']) { |
|
28 | +// infinite loop protection |
|
28 | 29 | break; |
29 | 30 | } |
30 | 31 | $category['title'] = "$parent[title] :: $category[title]"; |