Fix warnings

This commit is contained in:
Michael Vogel 2019-11-18 19:09:21 +01:00
parent 6d53036a9f
commit 80917018e9
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}