Changeset 12017 for trunk/admin/cat_perm.php
- Timestamp:
- Aug 31, 2011, 3:25:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r11729 r12017 89 89 and count($_POST['grant_groups']) > 0) 90 90 { 91 $cat_ids = (isset($_POST['apply_on_sub'])) ? implode(',', get_subcat_ids(array($page['cat']))).",".implode(',', get_uppercat_ids(array($page['cat']))) : implode(',', get_uppercat_ids(array($page['cat']))); 92 91 93 $query = ' 92 94 SELECT id 93 95 FROM '.CATEGORIES_TABLE.' 94 WHERE id IN ('. implode(',', get_uppercat_ids(array($page['cat']))).')96 WHERE id IN ('.$cat_ids.') 95 97 AND status = \'private\' 96 98 ;';
Note: See TracChangeset
for help on using the changeset viewer.