Prevent double countries in address view

This commit is contained in:
Nathan Gray 2011-02-17 20:00:54 +00:00
parent 76497460f5
commit 0a71419124

View File

@ -1727,6 +1727,10 @@ class addressbook_ui extends addressbook_bo
$content['owner'] .= 'p';
}
// Prevent double countries - invalid code blanks it, disabling doesn't work
$content['adr_one_countrycode'] = '-';
$content['adr_two_countrycode'] = '-';
// Enable history
$this->setup_history($content, $sel_options);