Index: branches/5.2.x/core/units/helpers/category_helper.php =================================================================== diff -u -N -r14095 -r14184 --- branches/5.2.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 14095) +++ branches/5.2.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 14184) @@ -1,6 +1,6 @@ Application->GetVar('t'); - $physical_template = array_search($current_template, $this->Application->structureTemplateMapping); + $physical_template = $this->Application->getPhysicalTemplate($current_template); if ($physical_template !== false) { // replace menu template name with it's actual template name on disk