File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Protocols/EPP/eppResponses Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,12 @@ public function getDomainStatuses() {
6565 * @return string statuses
6666 */
6767 public function getDomainStatusCSV () {
68- return parent ::arrayToCSV ($ this ->getDomainStatuses ());
68+ $ statuses = [];
69+ foreach ($ this ->getDomainStatuses () as $ status ) {
70+ /* @var $status eppStatus */
71+ $ statuses [] = $ status ->getStatusname ();
72+ }
73+ return parent ::arrayToCSV ($ statuses );
6974 }
7075
7176 /**
Original file line number Diff line number Diff line change @@ -16,13 +16,6 @@ protected function arrayToCSV($arr) {
1616 $ ret .= ', ' ;
1717 }
1818 $ ret .= $ value ;
19- } else {
20- if ($ value instanceof eppStatus) {
21- if (strlen ($ ret )) {
22- $ ret .= ', ' ;
23- }
24- $ ret .= $ value ->getStatusname ();
25- }
2619 }
2720 }
2821 }
You can’t perform that action at this time.
0 commit comments