aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-05-10 10:37:53 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-05-10 10:37:53 +0200
commit150d9ec1dcca0f71ba19a7f55e599eb716541dc3 (patch)
treeb3b4ad685ac922ad3baefa1e291b15122062ad02 /src/Wallabag
parent147cae223b137d0d75e9dc39a613e6ea0f0edc16 (diff)
downloadwallabag-150d9ec1dcca0f71ba19a7f55e599eb716541dc3.tar.gz
wallabag-150d9ec1dcca0f71ba19a7f55e599eb716541dc3.tar.zst
wallabag-150d9ec1dcca0f71ba19a7f55e599eb716541dc3.zip
Handle empty configuration
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php2
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;