style: fix input error

issue #209
pull/212/head
Spirit 2020-04-01 23:01:02 +08:00
parent f1b22d0fb5
commit f1981117b5
1 changed files with 1 additions and 1 deletions

2
inc/api.php 100644 → 100755
View File

@ -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);