X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fphone_type.pm;fp=FS%2FFS%2Fphone_type.pm;h=de565270ae7ad88d6acc6f83291df51e4c4eea95;hp=3d9dced6f8e9c013fac4d26ce2a8446e2c7fc2c9;hb=5b0df166c22e13eba83fabee858846ead6a54141;hpb=5ae6df67cbcac031e4b2731f337f42a17af5777a diff --git a/FS/FS/phone_type.pm b/FS/FS/phone_type.pm index 3d9dced6f..de565270a 100644 --- a/FS/FS/phone_type.pm +++ b/FS/FS/phone_type.pm @@ -98,8 +98,8 @@ returns a list of phone_types. =cut sub get_phone_types { - ## only using mobile(3) and work(1) right now. - my @phone_types = qsearch({table=>'phone_type', order_by=>'ORDER BY weight DESC', extra_sql => " WHERE phonetypenum IN ('1','3')"}); + ## not using Home and Fax right now. false laziness with /elements/contact.html + my @phone_types = qsearch({table=>'phone_type', order_by=>'ORDER BY weight DESC', extra_sql => " WHERE typename NOT IN ('Home','Fax')"}); return @phone_types; }