Changeset 24525


Ignore:
Timestamp:
09/18/13 23:20:30 (6 years ago)
Author:
ddtddt
Message:

[trunk] - feature:2961 Thanks to msakik for report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_global.php

    r23746 r24525  
    122122  if ('del_tags' == $action) 
    123123  { 
    124     if (count($_POST['del_tags']) == 0) 
    125     { 
    126       array_push($page['errors'], l10n('Select at least one tag')); 
    127     } 
    128      
     124    if (isset($_POST['del_tags']) and count($_POST['del_tags']) > 0) 
     125    { 
    129126    $query = ' 
    130127DELETE 
     
    134131;'; 
    135132    pwg_query($query); 
     133    } 
     134        else 
     135        { 
     136         array_push($page['errors'], l10n('Select at least one tag')); 
     137        } 
    136138  } 
    137139 
Note: See TracChangeset for help on using the changeset viewer.