@@ -44,10 +44,10 @@ |
||
| 44 | 44 | if($xml->count() == 0 and $xml_string != '') { |
| 45 | 45 | if(count($xml->attributes()) == 0){ |
| 46 | 46 | $result = $xml_string; |
| 47 | - }else{ |
|
| 47 | + } else{ |
|
| 48 | 48 | $result = array($xml_string); |
| 49 | 49 | } |
| 50 | - }else{ |
|
| 50 | + } else{ |
|
| 51 | 51 | $result = null; |
| 52 | 52 | } |
| 53 | 53 | |