diff --git a/api.php b/api.php index 379ce7d..46f534e 100644 --- a/api.php +++ b/api.php @@ -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;