Index: branches/unlabeled/unlabeled-1.8.2/core/units/permissions/permissions_tag_processor.php =================================================================== diff -u -N -r5552 -r5614 --- branches/unlabeled/unlabeled-1.8.2/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 5552) +++ branches/unlabeled/unlabeled-1.8.2/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 5614) @@ -67,9 +67,15 @@ $perm_live_table = $this->Application->getUnitOption('c-perm', 'TableName'); $perm_temp_table = $this->Application->GetTempName($perm_live_table); - - $categories = explode('|', substr($category->GetDBField('ParentPath'), 1, -1)); - if (count($categories) == 1) { + + if ($category->GetID() == 0) { + $categories = Array(0); + } + else { + $categories = explode('|', substr($category->GetDBField('ParentPath'), 1, -1)); + } + + if (count($categories) == 1 || $category->GetID() == 0) { // category located in root category ("Home") => then add it to path virtually array_unshift($categories, 0); }