diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index cc911d6..9ff5c70 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -1223,7 +1223,7 @@ class PlaneController extends PublicController } $ids = explode(',', $_REQUEST['id']); - $ids = array_filter($ids, function($id) { + $ids = array_filter($ids, function ($id) { return is_numeric($id) && $id > 0; });