From d2b69220bee92209c5dd14d9da177e5d462195a3 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 18 Jul 2013 19:24:17 -0400 Subject: [PATCH] Remove PHP notice in PicoFeed --- vendor/PicoFeed/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/PicoFeed/Client.php b/vendor/PicoFeed/Client.php index c5e75a7..27a5b7a 100644 --- a/vendor/PicoFeed/Client.php +++ b/vendor/PicoFeed/Client.php @@ -79,8 +79,8 @@ abstract class Client } else if (strpos($line, ':') !== false) { - list($name, $value) = explode(': ', $line); - $headers[trim($name)] = trim($value); + @list($name, $value) = explode(': ', $line); + if ($value) $headers[trim($name)] = trim($value); } }