shish 5 سال پیش
والد
کامیت
a49607987e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app-ghs/controllers/OrderController.php

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -148,7 +148,7 @@ class OrderController extends BaseController
 
 
         if ($debt == OrderClass::DEBT_NO) {
-            if (isset($post['sendType']) && $post['sendType'] != OrderClass::SEND_TYPE_NO) {
+            if (isset($post['sendType']) && $post['sendType'] == OrderClass::SEND_TYPE_NO) {
                 $shopAdmin = $this->shopAdmin;
                 if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
                     util::fail('只能开欠款单');