Oops fix is_array typo

This commit is contained in:
james 2011-03-02 17:39:13 +00:00
parent 46f292ba16
commit 693fb1e398

View File

@ -1085,7 +1085,7 @@ switch($request[0]) {
}
$errors = array();
$mentorList = json_decode($_POST['mentors'],true);
if(!$is_array($mentorList)) {
if(!is_array($mentorList)) {
$ret['status'] = "error";
$ret['error'] = "mentors array parameter must be an array of mentors (or an empty array if no mentors)";
break;