Changeset 17561 for trunk/admin/cat_perm.php
- Timestamp:
- Aug 14, 2012, 8:53:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r13593 r17561 91 91 // add permissions to groups 92 92 // 93 $grant_groups = array_diff($_POST['groups'], $groups_granted);93 $grant_groups = $_POST['groups']; 94 94 if (count($grant_groups) > 0) 95 95 { … … 99 99 $cat_ids = array_merge($cat_ids, get_subcat_ids(array($page['cat']))); 100 100 } 101 101 102 102 $query = ' 103 103 SELECT id … … 114 114 $granteds[$cat_id] = array(); 115 115 } 116 116 117 117 $query = ' 118 118 SELECT … … 184 184 // add permissions to users 185 185 // 186 $grant_users = array_diff($_POST['users'], $users_granted);186 $grant_users = $_POST['users']; 187 187 if (count($grant_users) > 0) 188 188 {
Note: See TracChangeset
for help on using the changeset viewer.