Index: branches/5.2.x/core/units/helpers/themes_helper.php =================================================================== diff -u -N -r15158 -r15278 --- branches/5.2.x/core/units/helpers/themes_helper.php (.../themes_helper.php) (revision 15158) +++ branches/5.2.x/core/units/helpers/themes_helper.php (.../themes_helper.php) (revision 15278) @@ -1,6 +1,6 @@ Application->getPhysicalTemplate($template_path); + $template_path = $this->Application->getPhysicalTemplate($template_path); - if ( ($physical_template !== false) && (substr($physical_template, 0, 3) != 'id:') ) { - // replace menu template name with it's actual template name on disk - list ($template_path) = explode(':', $physical_template, 2); - } - $sql = 'SELECT FileId FROM ' . TABLE_PREFIX . 'ThemeFiles WHERE ' . $this->getTemplateWhereClause($template_path, $theme_id);