[freeside-commits] branch FREESIDE_3_BRANCH updated. ac07dfa491181046e8dd2881d6093da9e8d3616f

Ivan ivan at 420.am
Thu Oct 8 13:46:59 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  ac07dfa491181046e8dd2881d6093da9e8d3616f (commit)
      from  69c2f42ce788c1793b72bab9ff9d21c4e19a098e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ac07dfa491181046e8dd2881d6093da9e8d3616f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 8 13:46:58 2015 -0700

    remove fax from short contact info, RT#25536

diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 979c26b..ec4916d 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -118,7 +118,7 @@ tie my %label, 'Tie::IxHash',
 
 my $first = 0;
 foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
-  next if $phone_type->typename eq 'Home';
+  next if $phone_type->typename =~ /^(Home|Fax)$/;
   my $f = 'phonetypenum'.$phone_type->phonetypenum;
   $label{$f} = $phone_type->typename. ' phone';
   $size{$f} = $first++ ? 10 : 15;

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/contact.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list