Index: branches/5.0.x/core/units/helpers/mod_rewrite_helper.php =================================================================== diff -u -N -r12959 -r12971 --- branches/5.0.x/core/units/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 12959) +++ branches/5.0.x/core/units/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 12971) @@ -1,6 +1,6 @@ Application->GetDefaultThemeId(); + $default_theme_id = $this->Application->GetDefaultThemeId(true); if ($processed_params['m_theme'] && ($processed_params['m_theme'] != $default_theme_id)) { $theme_name = $this->Application->getCache('theme_names', $processed_params['m_theme']); if ($theme_name === false) {