mirror of
https://github.com/friendica/friendica
synced 2025-04-22 23:50:13 +00:00
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:
parent
6d39cecc5d
commit
a2cea16954
10 changed files with 39 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue