patch_bij_geen_adres.diff

Foutmelding bij geen adres bij een contact. - Tom Albers, 31-03-2010 16:30

Download (806 Bytes)

 
b/src/sidnEppAPI.php
1050 1050
						$streets[] = $streetNodes->item($a)->nodeValue;
1051 1051
					}
1052 1052
				}
1053

  
1053 1054
				#var_dump($cityNode->length);
1054 1055
				if ($cityNode instanceof DOMNodeList)
1055 1056
				{
......
1070 1071
				$postalInfo = new SidnContactPostalInfo($name, $city, $countrycode);
1071 1072

  
1072 1073
				$postalInfo->setOrganisationName($organisationName);
1073
				foreach ($streets as $street)
1074
				if (count($streets) > 0) 
1074 1075
				{
1075
					$postalInfo->addStreet($street);
1076
					foreach ($streets as $street)
1077
    					{
1078
	    					$postalInfo->addStreet($street);
1079
					}
1076 1080
				}
1077 1081

  
1078 1082
				$postalInfo->setProvince($province);