Changeset 25018 for trunk/admin/group_perm.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/group_perm.php
r25005 r25018 82 82 while ($row = pwg_db_fetch_assoc($result)) 83 83 { 84 array_push($private_uppercats, $row['id']);84 $private_uppercats[] = $row['id']; 85 85 } 86 86 … … 99 99 while ($row = pwg_db_fetch_assoc($result)) 100 100 { 101 array_push($authorized_ids, $row['cat_id']);101 $authorized_ids[] = $row['cat_id']; 102 102 } 103 103 … … 106 106 foreach ($to_autorize_ids as $to_autorize_id) 107 107 { 108 array_push( 109 $inserts, 110 array( 111 'group_id' => $page['group'], 112 'cat_id' => $to_autorize_id 113 ) 108 $inserts[] = array( 109 'group_id' => $page['group'], 110 'cat_id' => $to_autorize_id 114 111 ); 115 112 } … … 159 156 while ($row = pwg_db_fetch_assoc($result)) 160 157 { 161 array_push($authorized_ids, $row['id']);158 $authorized_ids[] = $row['id']; 162 159 } 163 160
Note: See TracChangeset
for help on using the changeset viewer.