X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Foptions_cust_contacts.html;h=372bc67559165491de44a7a2894f02a4e90477aa;hp=8a6b7691380ab34df29371f9fca7f9a349072a94;hb=2b199169bd62b8582eedb872b4e76bee48899e81;hpb=a98de57aee063b3ff737c283336f83b2e50e14a8 diff --git a/httemplate/search/elements/options_cust_contacts.html b/httemplate/search/elements/options_cust_contacts.html index 8a6b76913..372bc6755 100644 --- a/httemplate/search/elements/options_cust_contacts.html +++ b/httemplate/search/elements/options_cust_contacts.html @@ -12,7 +12,7 @@ <% mt('Email') |h %> -% foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) { +% foreach my $phone_type ( FS::phone_type->get_phone_types() ) { <% $phone_type->typename. ' Phone' |h %>