Changeset 1235


Ignore:
Timestamp:
Apr 21, 2006, 9:36:53 PM (18 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/admin/waiting.php

    r1072 r1235  
    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.