Index: branches/RC/core/units/themes/themes_tag_processor.php =================================================================== diff -u -N -r10832 -r11495 --- branches/RC/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 10832) +++ branches/RC/core/units/themes/themes_tag_processor.php (.../themes_tag_processor.php) (revision 11495) @@ -55,7 +55,11 @@ function SelectedTheme($params) { $object =& $this->getObject($params); - return $object->GetDBField('ThemeId') == $this->Application->GetVar('m_theme'); + + $themes_helper =& $this->Application->recallObject('ThemesHelper'); + /* @var $themes_helper kThemesHelper */ + + return $object->GetDBField('ThemeId') == $themes_helper->getCurrentThemeId(); } } ?> \ No newline at end of file