[Config] made a condition more explicit
This commit is contained in:
parent
5368066a5a
commit
cbc2f9fd36
@ -132,7 +132,7 @@ class XmlUtils
|
||||
$nodeValue = false;
|
||||
foreach ($element->childNodes as $node) {
|
||||
if ($node instanceof \DOMText) {
|
||||
if (strlen(trim($node->nodeValue)) > 0) {
|
||||
if ('' !== trim($node->nodeValue)) {
|
||||
$nodeValue = trim($node->nodeValue);
|
||||
$empty = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user