X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-country.html;h=286826752f279f07b5bdfb5ab921e6dddd4b708f;hb=9cfa3648407dc2333fb549460fed278311c5393a;hp=f3d98767a8e6e11f68fa70a28eec2a569deefbdb;hpb=ceeaad3d99869f159bf2fee490aafa4c95d03365;p=freeside.git
diff --git a/httemplate/elements/select-country.html b/httemplate/elements/select-country.html
index f3d98767a..286826752 100644
--- a/httemplate/elements/select-country.html
+++ b/httemplate/elements/select-country.html
@@ -91,15 +91,13 @@ Example:
>
% unless ( $opt{'disable_empty'} ) {
-
% }
% foreach my $country ( @all_countries ) {
-
-
% }
@@ -130,7 +128,7 @@ my $default = $conf->config('countrydefault') || 'US';
my @all_countries = (
sort { ($b eq $default) <=> ($a eq $default)
- or code2country($a) cmp code2country($b)
+ or FS::geocode_Mixin->code2country($a) cmp FS::geocode_Mixin->code2country($b)
}
map { $_->country }
qsearch({