summaryrefslogtreecommitdiff
path: root/lib/Favicon/Favicon.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-04-23 21:35:09 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-04-23 21:35:09 +0200
commitf3696784ea0acd15a11a4ca193abe623fd77dc33 (patch)
tree874fd230f3394d7eb59ae7ea7feeaf9474cf2ccf /lib/Favicon/Favicon.php
parent4862652585da1d69d62914659011c53146b21c17 (diff)
Favicon array bug
Case problem and isset check
Diffstat (limited to 'lib/Favicon/Favicon.php')
-rw-r--r--lib/Favicon/Favicon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Favicon/Favicon.php b/lib/Favicon/Favicon.php
index 7ea6ccf16..1912050d6 100644
--- a/lib/Favicon/Favicon.php
+++ b/lib/Favicon/Favicon.php
@@ -99,7 +99,7 @@ class Favicon
switch ($status) {
case '301':
case '302':
- $url = $headers['Location'];
+ $url = isset($headers['location']) ? $headers['location'] : '';
break;
default:
$loop = FALSE;