Index: branches/5.2.x/core/units/helpers/category_helper.php =================================================================== diff -u -N -r14970 -r15012 --- branches/5.2.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 14970) +++ branches/5.2.x/core/units/helpers/category_helper.php (.../category_helper.php) (revision 15012) @@ -1,6 +1,6 @@ Conn->Query($sql, 'SrcTemplate'); @@ -603,7 +603,7 @@ $page_ids = $regs[1]; $sql = 'SELECT NamedParentPath, CategoryId - FROM ' . TABLE_PREFIX . 'Category + FROM ' . TABLE_PREFIX . 'Categories WHERE CategoryId IN (' . implode(',', $page_ids) . ')'; $templates = $this->Conn->GetCol($sql, 'CategoryId');