Changeset 20080 for extensions/Piwecard/admin/admin_authorizations.php
- Timestamp:
- Jan 12, 2013, 12:31:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/admin/admin_authorizations.php
r20059 r20080 13 13 // Switch on right side (=>) 14 14 if (isset($_POST['falsify']) and isset($_POST['cat_true']) and count($_POST['cat_true']) > 0) { 15 $piwecard->my_config['authorized_cats'] = 'selected'; 16 15 17 foreach ($_POST['cat_true'] as $cat) 16 18 unset($piwecard->my_config['selected_cats'][array_search($cat, $piwecard->my_config['selected_cats'])]); … … 23 25 $result = pwg_query($query); 24 26 27 $piwecard->my_config['authorized_cats'] = 'selected'; 28 25 29 if (!empty($result)) { 26 30 while ($cat = pwg_db_fetch_assoc($result))
Note: See TracChangeset
for help on using the changeset viewer.