summaryrefslogtreecommitdiff
path: root/src/administration_writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/administration_writer.cpp')
-rw-r--r--src/administration_writer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/administration_writer.cpp b/src/administration_writer.cpp
index c699a0a..f12cf1f 100644
--- a/src/administration_writer.cpp
+++ b/src/administration_writer.cpp
@@ -357,7 +357,8 @@ static char* get_eas_id_for_contact(contact contact)
if (strops::equals(country_code, "IT")) return contact.businessid; // Italy
if (strops::equals(country_code, "FI")) return contact.businessid; // Finland
if (strops::equals(country_code, "DK")) return contact.businessid; // Denmark
- return NULL; // Unknown country code
+
+ return contact.businessid; // Unknown country code
}
static char* get_eas_scheme_for_contact(contact contact)
@@ -397,7 +398,8 @@ static char* get_eas_scheme_for_contact(contact contact)
if (strops::equals(country_code, "SI")) return "9949"; // Slovenia
if (strops::equals(country_code, "SK")) return "9950"; // Slovakia
if (strops::equals(country_code, "ES")) return "9920"; // Spain
- return NULL; // Unknown country code
+
+ return "0203"; // Hack
}
bool isEmptyTag(const char *start, const char *end) {