shish 1 год назад
Родитель
Сommit
987449ef4c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/OrderController.php

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

@@ -995,7 +995,7 @@ class OrderController extends BaseController
         $post['showAddress'] = $custom['showAddress'] ?? '';
         $post['long'] = $custom['long'] ?? '';
         $post['lat'] = $custom['lat'] ?? '';
-        if (isset($post['getStaffId']) == true && !empty($post['getStaffId'])) {
+        if (!empty($post['getStaffId'])) {
             $getStaffName = $post['getStaffName'] ?? '';
             $shopAdminId = $post['getStaffId'];
             $shopAdminName = $getStaffName;