shish 2 年 前
コミット
0a6e8b9652
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app-ghs/controllers/RefundController.php

+ 2 - 2
app-ghs/controllers/RefundController.php

@@ -183,8 +183,8 @@ class RefundController extends BaseController
         $get = Yii::$app->request->get();
         $where = [];
         $where['mainId'] = $this->mainId;
-        $status = $get['status'] ?? '';
-        if (is_numeric($status)) {
+        $status = $get['status'] ?? 0;
+        if ($status == 1) {
             $where['status'] = $status;
         }
         $string = $get['ids'];