mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
fix: 修复订阅过滤功能在某些情况下报错的问题
This commit is contained in:
parent
f9c12d7bd8
commit
42d2df07a7
@ -84,7 +84,7 @@ class ClientController extends Controller
|
||||
$rejectFlag = true;
|
||||
foreach($filterArr as $filter){
|
||||
if(stripos($server['name'],$filter) !== false
|
||||
|| in_array($filter, $server['tags'])
|
||||
|| in_array($filter, $server['tags'] ?? [])
|
||||
) $rejectFlag = false;
|
||||
}
|
||||
if($rejectFlag) return true;
|
||||
|
Loading…
Reference in New Issue
Block a user