ソースを参照

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'];
         }