Some more notices (#5526)

* Some more notices

* Fixed nasty to find notice in DFRN and OStatus

* And more notices ...

* Yeah, some removed notices ... again ...
This commit is contained in:
Michael Vogel 2018-07-30 06:41:20 +02:00 committed by Tobias Diekershoff
parent 6d39cecc5d
commit a2cea16954
10 changed files with 39 additions and 16 deletions

View file

@ -311,7 +311,12 @@ class Addon
foreach ($ll as $l) {
$l = trim($l, "\t\n\r */");
if ($l != "") {
list($type, $v) = array_map("trim", explode(":", $l, 2));
$addon_info = array_map("trim", explode(":", $l, 2));
if (count($addon_info) < 2) {
continue;
}
list($type, $v) = $addon_info;
$type = strtolower($type);
if ($type == "author" || $type == "maintainer") {
$r = preg_match("|([^<]+)<([^>]+)>|", $v, $m);