Permalink
Browse files

functions tep_output_generated_category_path and tep_get_generated_ca…

…tegory_path_ids updated due to XHTML fixes
  • Loading branch information...
1 parent e571d5d commit 576483940362027e7027032961b75ec3e034a170 @bodi000 bodi000 committed with haraldpdl Oct 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 catalog/admin/includes/functions/general.php
View
4 catalog/admin/includes/functions/general.php
@@ -892,7 +892,7 @@ function tep_output_generated_category_path($id, $from = 'category') {
}
$calculated_category_path_string = substr($calculated_category_path_string, 0, -16) . '<br />';
}
- $calculated_category_path_string = substr($calculated_category_path_string, 0, -4);
+ $calculated_category_path_string = substr($calculated_category_path_string, 0, -6);
if (strlen($calculated_category_path_string) < 1) $calculated_category_path_string = TEXT_TOP;
@@ -908,7 +908,7 @@ function tep_get_generated_category_path_ids($id, $from = 'category') {
}
$calculated_category_path_string = substr($calculated_category_path_string, 0, -1) . '<br />';
}
- $calculated_category_path_string = substr($calculated_category_path_string, 0, -4);
+ $calculated_category_path_string = substr($calculated_category_path_string, 0, -6);
if (strlen($calculated_category_path_string) < 1) $calculated_category_path_string = TEXT_TOP;

0 comments on commit 5764839

Please sign in to comment.