Skip to content

Commit

Permalink
修复:php7.3- 版本兼容性问题
Browse files Browse the repository at this point in the history
  • Loading branch information
taksssss committed Sep 11, 2024
1 parent 8b99246 commit a90f20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epg/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ function showChangePasswordForm() {

// 将已停用的放到后面
$dbResponse = array_merge(
array_filter($dbResponse, fn($item) => strpos($item['epg_src'], '【已停用】') === false),
array_filter($dbResponse, fn($item) => strpos($item['epg_src'], '【已停用】') !== false)
array_filter($dbResponse, function($item) { return strpos($item['epg_src'], '【已停用】') === false; }),
array_filter($dbResponse, function($item) { return strpos($item['epg_src'], '【已停用】') !== false; })
);
}

Expand Down

0 comments on commit a90f20b

Please sign in to comment.