Skip to content

Commit d85009a

Browse files
committed
Reverting change to see if ci still fails
1 parent f204e6e commit d85009a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function xml2array($xml)
4141
{
4242
$tag = $element->getName();
4343
$e = get_object_vars($element);
44-
if ($element->count() > 0)
44+
if (!empty($e))
4545
{
4646
$res = $element instanceof \SimpleXMLElement ? $this->xml2array($element) : $e;
4747
}

0 commit comments

Comments
 (0)