Changeset 17561
- Timestamp:
- 08/14/12 20:53:43 (9 months ago)
- Files:
-
- 1 modified
-
trunk/admin/cat_perm.php (modified) (4 diffs)
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 {
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)