shish před 1 rokem
rodič
revize
89d3991f55
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app-hd/controllers/OrderController.php

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

@@ -1047,7 +1047,7 @@ class OrderController extends BaseController
         if (!empty($get['shopAdminId'])) {
             $where['shopAdminId'] = $get['shopAdminId'];
         }
-        if ($searchStyle == 1) {
+        if ($searchStyle == 1 && !empty($searchText)) {
             $where['sendNum'] = $searchText;
         }
         if (isset($get['repeat']) && $get['repeat'] > -1) {