@@ 178-180 (lines=3) @@ | ||
175 | $QcurrentCategory->execute(); |
|
176 | ||
177 | if ($QlastCategory->valueInt('parent_id') == $QcurrentCategory->valueInt('parent_id')) { |
|
178 | for ($i=0; $i<($cp_size-1); $i++) { |
|
179 | $cPath_new .= '_' . $cPath_array[$i]; |
|
180 | } |
|
181 | } else { |
|
182 | for ($i=0; $i<$cp_size; $i++) { |
|
183 | $cPath_new .= '_' . $cPath_array[$i]; |
|
@@ 182-184 (lines=3) @@ | ||
179 | $cPath_new .= '_' . $cPath_array[$i]; |
|
180 | } |
|
181 | } else { |
|
182 | for ($i=0; $i<$cp_size; $i++) { |
|
183 | $cPath_new .= '_' . $cPath_array[$i]; |
|
184 | } |
|
185 | } |
|
186 | $cPath_new .= '_' . $current_category_id; |
|
187 |