diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-10 10:37:53 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-10 10:37:53 +0200 |
commit | 150d9ec1dcca0f71ba19a7f55e599eb716541dc3 (patch) | |
tree | b3b4ad685ac922ad3baefa1e291b15122062ad02 /src | |
parent | 147cae223b137d0d75e9dc39a613e6ea0f0edc16 (diff) | |
download | wallabag-150d9ec1dcca0f71ba19a7f55e599eb716541dc3.tar.gz wallabag-150d9ec1dcca0f71ba19a7f55e599eb716541dc3.tar.zst wallabag-150d9ec1dcca0f71ba19a7f55e599eb716541dc3.zip |
Handle empty configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php b/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php index a16ed49d..c712bb26 100644 --- a/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php +++ b/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php | |||
@@ -54,7 +54,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder | |||
54 | $host = substr($host, 4); | 54 | $host = substr($host, 4); |
55 | } | 55 | } |
56 | 56 | ||
57 | if (!isset($this->credentials[$host])) { | 57 | if (empty($this->credentials[$host])) { |
58 | $this->logger->debug('Auth: no credentials available for host.', ['host' => $host]); | 58 | $this->logger->debug('Auth: no credentials available for host.', ['host' => $host]); |
59 | 59 | ||
60 | return false; | 60 | return false; |