fly 4 년 전
부모
커밋
83a5064dce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Services/LandingPage/LandingPageLinkService.php

+ 1 - 1
src/Services/LandingPage/LandingPageLinkService.php

@@ -225,7 +225,7 @@ class LandingPageLinkService
                     ->where('report_user_charge_records.type', $params['type']);
             });
         }
-        if (isset($params['status'])) {
+        if (isset($params['status']) && is_numeric($params['status'])) {
             $sql->whereExists(function ($query) use ($params) {
                 $query->select(DB::raw(1))
                     ->from('report_user_charge_records')