Ignore:
Timestamp:
Jan 12, 2013, 12:31:47 AM (11 years ago)
Author:
julien1311
Message:

[piwecard] version 2.4.a.b2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/admin/admin_authorizations.php

    r20059 r20080  
    1313// Switch on right side (=>)   
    1414if (isset($_POST['falsify']) and isset($_POST['cat_true']) and count($_POST['cat_true']) > 0) {
     15        $piwecard->my_config['authorized_cats'] = 'selected';
     16       
    1517        foreach ($_POST['cat_true'] as $cat)
    1618                unset($piwecard->my_config['selected_cats'][array_search($cat, $piwecard->my_config['selected_cats'])]);
     
    2325        $result = pwg_query($query);
    2426
     27        $piwecard->my_config['authorized_cats'] = 'selected';
     28       
    2529        if (!empty($result)) {
    2630                while ($cat = pwg_db_fetch_assoc($result))
Note: See TracChangeset for help on using the changeset viewer.