We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d5ade commit b6fec74Copy full SHA for b6fec74
Protocols/EPP/eppData/eppContactPostalInfo.php
@@ -77,7 +77,7 @@ public function addStreet($street) {
77
* @return string
78
*/
79
public function getStreet($line) {
80
- if (is_array($this->street) && array_key_exists($line, $this->street)) {
+ if ((is_array($this->street)) && (array_key_exists($line, $this->street))) {
81
return $this->street[$line];
82
}
83
return null;
@@ -148,8 +148,6 @@ public function getCity() {
148
* @return void
149
150
public function setZipcode($zipcode) {
151
- //DONT Remove garbage from the zipcode, never modify customer input!
152
- //$zipcode = preg_replace('/[^a-z\d]/i', '', $zipcode);
153
$this->zipcode = $zipcode;
154
155
0 commit comments