Index: branches/5.2.x/core/units/helpers/permissions_helper.php =================================================================== diff -u -N -r14989 -r15012 --- branches/5.2.x/core/units/helpers/permissions_helper.php (.../permissions_helper.php) (revision 14989) +++ branches/5.2.x/core/units/helpers/permissions_helper.php (.../permissions_helper.php) (revision 15012) @@ -1,6 +1,6 @@ = UNIX_TIMESTAMP() ) )'; $groups = $this->Conn->GetCol($sql); @@ -633,12 +633,12 @@ } $sql = 'SELECT PermissionConfigId - FROM ' . TABLE_PREFIX . 'PermissionConfig + FROM ' . TABLE_PREFIX . 'CategoryPermissionsConfig WHERE PermissionName = ' . $this->Conn->qstr($name); $perm_id = $this->Conn->GetOne($sql); $sql = 'SELECT PermId - FROM ' . TABLE_PREFIX . 'PermCache + FROM ' . TABLE_PREFIX . 'CategoryPermissionsCache WHERE (PermId = ' . $perm_id . ') AND (CategoryId = ' . (int)$cat_id . ')'; $view_filters = Array (); @@ -714,7 +714,7 @@ // get all categories along with their parent path $sql = 'SELECT ParentPath, CategoryId - FROM ' . TABLE_PREFIX . 'Category'; + FROM ' . TABLE_PREFIX . 'Categories'; $parent_paths = $this->Conn->GetCol($sql, 'CategoryId'); foreach ($parent_paths as $category_id => $parent_path) {