From f1981117b585f5896664cd7f6c30a5df4e49101c Mon Sep 17 00:00:00 2001 From: Spirit Date: Wed, 1 Apr 2020 23:01:02 +0800 Subject: [PATCH] style: fix input error issue #209 --- inc/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 inc/api.php diff --git a/inc/api.php b/inc/api.php old mode 100644 new mode 100755 index 35270ae..b359b4c --- a/inc/api.php +++ b/inc/api.php @@ -453,7 +453,7 @@ function get_bgm_items($page = 1){ } $lists = $bgm["list"]; foreach ((array)$lists as $list) { - if(preg_match('/已看完/m',$list["new_ep"]['index_show'], $matches_finish)){ + if(preg_match('/看完/m',$list["progress"], $matches_finish)){ $percent = 100; }else{ preg_match('/第(\d+)./m',$list['progress'], $matches_progress);