[PixivBridge] [UnsplashBridge] Fix deprecated null (#2705)

This commit is contained in:
Yaman Qalieh 2022-05-08 10:17:26 -04:00 committed by GitHub
parent f5a51038cc
commit 0ce71d561d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 {