shish 2 lat temu
rodzic
commit
d81199432b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-ghs/controllers/PurchaseOrderController.php

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

@@ -766,7 +766,7 @@ class PurchaseOrderController extends BaseController
         $adminId = $this->adminId ?? 0;
         $cgId = $cg->id ?? 0;
         $cgBookSn = $cg->bookSn ?? 0;
-        if (!empty($adminId)) {
+        if (!empty($adminId) && empty($salt)) {
             if ($cg->mainId != $this->mainId) {
                 util::success(['need' => 0, 'hint' => 'cgMainId != thisMainId']);
             }