mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Fix warnings
This commit is contained in:
parent
6d53036a9f
commit
80917018e9
2 changed files with 3 additions and 3 deletions
|
@ -1061,7 +1061,7 @@ class GServer
|
|||
$attr = [];
|
||||
if ($node->attributes->length) {
|
||||
foreach ($node->attributes as $attribute) {
|
||||
$attribute->value = trim($attribute->value);
|
||||
$attribute->value = @trim($attribute->value);
|
||||
if (empty($attribute->value)) {
|
||||
continue;
|
||||
}
|
||||
|
@ -1117,7 +1117,7 @@ class GServer
|
|||
$attr = [];
|
||||
if ($node->attributes->length) {
|
||||
foreach ($node->attributes as $attribute) {
|
||||
$attribute->value = trim($attribute->value);
|
||||
$attribute->value = @trim($attribute->value);
|
||||
if (empty($attribute->value)) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue