mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-22 13:36:18 +00:00
Handle empty configuration
This commit is contained in:
parent
147cae223b
commit
150d9ec1dc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
|
|||
$host = substr($host, 4);
|
||||
}
|
||||
|
||||
if (!isset($this->credentials[$host])) {
|
||||
if (empty($this->credentials[$host])) {
|
||||
$this->logger->debug('Auth: no credentials available for host.', ['host' => $host]);
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue