Remove PHP notice in PicoFeed

This commit is contained in:
Frederic Guillot 2013-07-18 19:24:17 -04:00
parent a5aa0ba9fc
commit d2b69220be

View File

@ -79,8 +79,8 @@ abstract class Client
} }
else if (strpos($line, ':') !== false) { else if (strpos($line, ':') !== false) {
list($name, $value) = explode(': ', $line); @list($name, $value) = explode(': ', $line);
$headers[trim($name)] = trim($value); if ($value) $headers[trim($name)] = trim($value);
} }
} }