瀏覽代碼

bugfix: EK-0524: 结算后台无法下载PDF订单.

kevinElken 7 月之前
父節點
當前提交
7c8b56c54b
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      backendApi/modules/v1/controllers/UserController.php

+ 1 - 2
backendApi/modules/v1/controllers/UserController.php

@@ -162,8 +162,7 @@ class UserController extends BaseController
             $params = $filter['params'];
             $condition .= " AND UI.DELETED=0 AND U.COUNTRY_ID IN (" . implode(',', $quotedAdminCountry) . ")";
         } else {
-            $condition = $filter['condition'] ?? '';
-            $condition .= 'AND U.DELETED=0';
+            $condition = $filter['condition'] . 'AND U.DELETED=0' ?? ' U.DELETED=0';
             $params = $filter['params'];
         }