Skip to content

Commit a36d0a0

Browse files
Merge pull request #167 from nic-at/master
Update eppContactPostalInfo.php
2 parents 3dc5dbc + b36f2ea commit a36d0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Protocols/EPP/eppData/eppContactPostalInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function addStreet($street) {
7575
* @return string
7676
*/
7777
public function getStreet($line) {
78-
if ($this->street[$line]) {
78+
if (isset($this->street[$line])) {
7979
return $this->street[$line];
8080
}
8181
return null;
@@ -214,4 +214,4 @@ public function setType($type) {
214214
}
215215
$this->type = $type;
216216
}
217-
}
217+
}

0 commit comments

Comments
 (0)