diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index 5f2776c..aeb4432 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -266,7 +266,8 @@ class PlaneController extends PublicController preg_match_all('/,/', $_REQUEST['bindroute'], $matches); $data['runing'] = implode('', $matches[0]); } else { - $data['bind_route'] = ''; + $data['bind_route'] = null; + $data['runing'] = null; } if ($_REQUEST['desc']) { $data['describe'] = $_REQUEST['desc'];