Remove PHP notice in PicoFeed
This commit is contained in:
parent
a5aa0ba9fc
commit
d2b69220be
4
vendor/PicoFeed/Client.php
vendored
4
vendor/PicoFeed/Client.php
vendored
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user