Index: branches/5.2.x/core/units/helpers/mod_rewrite_helper.php =================================================================== diff -u -r14869 -r15012 --- branches/5.2.x/core/units/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 14869) +++ branches/5.2.x/core/units/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 15012) @@ -1,6 +1,6 @@ Conn->qstr($item_filename) . ')'; $cat_item = $this->Conn->GetRow($sql); @@ -315,7 +315,7 @@ /* @var $rewrite_processor kRewriteUrlProcessor */ $sql = 'SELECT c.ParentPath, c.CategoryId - FROM ' . TABLE_PREFIX . 'Category AS c + FROM ' . TABLE_PREFIX . 'Categories AS c WHERE c.CategoryId = ' . (int)$vars['m_cat_id']; $cat_item = $this->Conn->GetRow($sql);