mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 11:34:09 +02:00
fix: various small fixes (#3578)
This commit is contained in:
@@ -304,7 +304,11 @@ EOD
|
||||
$regex = '/"pageID":"([0-9]*)"/';
|
||||
preg_match($regex, $pageContent, $matches);
|
||||
|
||||
return ['userId' => $matches[1], 'username' => $username];
|
||||
$arr = [
|
||||
'userId' => $matches[1] ?? null,
|
||||
'username' => $username,
|
||||
];
|
||||
return $arr;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
|
Reference in New Issue
Block a user