diff --git a/FlyCube/MpApi/Controller/PlaneController.class.php b/FlyCube/MpApi/Controller/PlaneController.class.php index fe1992c..a22da22 100644 --- a/FlyCube/MpApi/Controller/PlaneController.class.php +++ b/FlyCube/MpApi/Controller/PlaneController.class.php @@ -182,6 +182,9 @@ class PlaneController extends PublicController } else { $msg = "已注销执行航线"; } + if (!$_REQUEST['runing']) { + $_REQUEST['runing'] = null; + } $data['runing'] = $_REQUEST['runing']; if ($rsDb->where($where)->save($data)) {