Skip to content

Commit b6fec74

Browse files
committed
Cleanup
1 parent b2d5ade commit b6fec74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Protocols/EPP/eppData/eppContactPostalInfo.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function addStreet($street) {
7777
* @return string
7878
*/
7979
public function getStreet($line) {
80-
if (is_array($this->street) && array_key_exists($line, $this->street)) {
80+
if ((is_array($this->street)) && (array_key_exists($line, $this->street))) {
8181
return $this->street[$line];
8282
}
8383
return null;
@@ -148,8 +148,6 @@ public function getCity() {
148148
* @return void
149149
*/
150150
public function setZipcode($zipcode) {
151-
//DONT Remove garbage from the zipcode, never modify customer input!
152-
//$zipcode = preg_replace('/[^a-z\d]/i', '', $zipcode);
153151
$this->zipcode = $zipcode;
154152
}
155153

0 commit comments

Comments
 (0)