mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 01:55:21 +02:00
[PixivBridge] [UnsplashBridge] Fix deprecated null (#2705)
This commit is contained in:
parent
f5a51038cc
commit
0ce71d561d
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ class UnsplashBridge extends BridgeAbstract
|
|||
|
||||
public function getName()
|
||||
{
|
||||
$filteredUser = $this->getInput('u');
|
||||
$filteredUser = $this->getInput('u') ?? '';
|
||||
if (strlen($filteredUser) > 0) {
|
||||
return $filteredUser . ' - ' . self::NAME;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue