Remove PHP notice in PicoFeed

This commit is contained in:
Frederic Guillot 2013-07-18 19:24:17 -04:00
parent a5aa0ba9fc
commit d2b69220be
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}