Browse Source

缺少return

liaofei 5 năm trước cách đây
mục cha
commit
6c2cba8e7c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      crmeb/app/admin/controller/order/StoreOrder.php

+ 1 - 1
crmeb/app/admin/controller/order/StoreOrder.php

@@ -328,7 +328,7 @@ class StoreOrder extends AuthController
             $this->assign(compact('form'));
             return $this->fetch('public/form-builder');
         }
-        else $this->failedNotice('订单状态错误');
+        else return $this->failedNotice('订单状态错误');
     }
 
     /**