Index: branches/unlabeled/unlabeled-1.10.2/core/units/categories/cache_updater.php =================================================================== diff -u -r7636 -r7755 --- branches/unlabeled/unlabeled-1.10.2/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 7636) +++ branches/unlabeled/unlabeled-1.10.2/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 7755) @@ -313,7 +313,7 @@ { $fields_hash = Array ( 'ParentPath' => '|'.implode('|', $data['parent_path']).'|', - 'NamedParentPath' => implode('/', $data['named_path'] ), + 'NamedParentPath' => $data['system'] ? $data['file_name'] : implode('/', $data['named_path'] ), 'CachedCategoryTemplate' => $data['category_template'], 'CachedDescendantCatsQty' => $data['children_count'], ); @@ -343,7 +343,9 @@ } $data['parent_path'][] = $category_id; - $data['named_path'][] = $record['Filename']; + $data['named_path'][] = preg_replace('/^Content\\//', '', $record['Filename']); + $data['system'] = $record['IsSystem']; + $data['file_name'] = $record['Filename']; // it is one of the modules root category $root_prefix = isset($this->root_prefixes[$category_id]) ? $this->root_prefixes[$category_id] : false;