Skip to content

Commit

Permalink
Adding in missed reference
Browse files Browse the repository at this point in the history
  • Loading branch information
N1ghteyes committed Feb 22, 2019
1 parent c9bbc84 commit cc13c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apicore/structure/response.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function addError($code, $message){
public function xml2array ( $xmlObject, $out = array () )
{
foreach ( (array) $xmlObject as $index => $node )
$out[$index] = ( is_object ( $node ) || is_array ( $node ) ) ? xml2array ( $node ) : $node;
$out[$index] = ( is_object ( $node ) || is_array ( $node ) ) ? $this->xml2array ( $node ) : $node;

return $out;
}
Expand Down

0 comments on commit cc13c52

Please sign in to comment.