diff --git a/app/gateways/gateways.php b/app/gateways/gateways.php index b7fcdc2cb8..5024331df6 100644 --- a/app/gateways/gateways.php +++ b/app/gateways/gateways.php @@ -318,14 +318,14 @@ //running try { $xml = new SimpleXMLElement($response); - $state = (array) $xml->state; + $state = $xml->state; echo " ".$text['label-status-running']."\n"; if (permission_exists('gateway_edit')) { echo " "; echo button::create(['type'=>'submit','class'=>'link','label'=>$text['label-action-stop'],'title'=>$text['button-stop'],'onclick'=>"list_self_check('checkbox_".$x."'); list_action_set('stop'); list_form_submit('form_list')"]); echo " \n"; } - echo " ".escape($state[0])."\n"; //REGED, NOREG, UNREGED + echo " ".escape($state)."\n"; //REGED, NOREG, UNREGED } catch (Exception $e) { //echo $e->getMessage();