Changeset 1245 for trunk


Ignore:
Timestamp:
Apr 21, 2006, 11:08:28 PM (19 years ago)
Author:
nikrou
Message:

bug fixed: add test on $_POSTlist
problem when clicking on validate-all or remove-all
and when the list of waiting is empty

svn merge -r1234:1235 from branch-1_6 into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/waiting.php

    r1072 r1245  
    6666    }
    6767  }
    68   else if (isset($_POST['validate-all']))
     68  elseif (isset($_POST['validate-all']) and !empty($_POST['list']))
    6969  {
    7070    $to_validate = explode(',', $_POST['list']);
    7171  }
    72   else if (isset($_POST['reject-all']))
     72  elseif (isset($_POST['reject-all']) and !empty($_POST['list']))
    7373  {
    7474    $to_reject = explode(',', $_POST['list']);
Note: See TracChangeset for help on using the changeset viewer.