diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-11-08 14:13:43 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-11-08 14:13:43 +0100 |
| commit | 6abbea56a6bfa69cb5e576223301f0c992b646fa (patch) | |
| tree | 97dabe37ef08202303c9a7a5187de77ac4b286e9 /src/administration_writer.cpp | |
| parent | 887d5f9f8d1309134c72b1f35afc7d007a5c64aa (diff) | |
Diffstat (limited to 'src/administration_writer.cpp')
| -rw-r--r-- | src/administration_writer.cpp | 6 |
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) { |
