mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Removed notices in the frio theme (#5610)
* Removed notices in the frio theme * And fixed notices in the notifications * And some more in frio * Null is the default value * And some small notice in the probing removed * Added note * Clarified note * And a removed notice in OStatus
This commit is contained in:
parent
576aea124c
commit
1283b99c6f
6 changed files with 32 additions and 23 deletions
|
@ -46,7 +46,11 @@ function get_scheme_info($scheme)
|
|||
foreach ($ll as $l) {
|
||||
$l = trim($l, "\t\n\r */");
|
||||
if ($l != '') {
|
||||
list($k, $v) = array_map('trim', explode(':', $l, 2));
|
||||
$values = array_map('trim', explode(':', $l, 2));
|
||||
if (count($values) < 2) {
|
||||
continue;
|
||||
}
|
||||
list($k, $v) = $values;
|
||||
$k = strtolower($k);
|
||||
if ($k == 'author') {
|
||||
$r = preg_match('|([^<]+)<([^>]+)>|', $v, $m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue