diff options
Diffstat (limited to 'httemplate/elements/contact.html')
-rw-r--r-- | httemplate/elements/contact.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 599f6629d..308b846bc 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -180,7 +180,7 @@ unless ($opt{'for_prospect'}) { } my $first = 0; -foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { +foreach my $phone_type ( FS::phone_type->get_phone_types() ) { next if $phone_type->typename =~ /^(Home|Fax)$/; my $f = 'phonetypenum'.$phone_type->phonetypenum; $label{$f} = $phone_type->typename. ' phone'; |