Index: branches/RC/core/units/general/helpers/mod_rewrite_helper.php =================================================================== diff -u -N -r11501 -r11504 --- branches/RC/core/units/general/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 11501) +++ branches/RC/core/units/general/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 11504) @@ -171,7 +171,7 @@ } } - $sql = 'SELECT CachedCategoryTemplate + $sql = 'SELECT CachedTemplate FROM '.TABLE_PREFIX.'Category WHERE CategoryId = '.$vars['m_cat_id']; $vars['t'] = $this->Conn->GetOne($sql);