diff --git a/Site5/App_Code/GetGeographyData.cs b/Site5/App_Code/GetGeographyData.cs
index 60d1e8e0..7c38a4b1 100644
--- a/Site5/App_Code/GetGeographyData.cs
+++ b/Site5/App_Code/GetGeographyData.cs
@@ -473,6 +473,8 @@ namespace Swarmops.Site.Automation
private int geographyIdField;
+ private int postalCodeLengthField;
+
///
public int CountryId
{
@@ -480,6 +482,13 @@ namespace Swarmops.Site.Automation
set { this.countryIdField = value; }
}
+ ///
+ public int PostalCodeLength
+ {
+ get { return this.postalCodeLengthField; }
+ set { this.postalCodeLengthField = value; }
+ }
+
///
public string Name
{
diff --git a/Site5/Pages/v5/Init/Default.aspx.cs b/Site5/Pages/v5/Init/Default.aspx.cs
index 96d8f686..a00b1093 100644
--- a/Site5/Pages/v5/Init/Default.aspx.cs
+++ b/Site5/Pages/v5/Init/Default.aspx.cs
@@ -400,7 +400,7 @@ public partial class Pages_v5_Init_Default : Page
countryIdTranslation[country.Code] = SwarmDb.GetDatabaseForWriting().CreateCountry (country.Name,
country.Code,
country.Culture,
- rootGeographyId, 5,
+ rootGeographyId, country.PostalCodeLength,
string.Empty);
count++;