[freeside-commits] freeside/httemplate/elements tr-select-cust_location.html, 1.17, 1.18

Ivan,,, ivan at wavetail.420.am
Sun Mar 20 15:33:15 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv28429/httemplate/elements

Modified Files:
	tr-select-cust_location.html 
Log Message:
qualification address handling changes, RT#7111

Index: tr-select-cust_location.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-cust_location.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- tr-select-cust_location.html	20 Mar 2011 19:38:28 -0000	1.17
+++ tr-select-cust_location.html	20 Mar 2011 22:33:13 -0000	1.18
@@ -305,9 +305,10 @@
 
 @cust_location = sort $location_sort grep !$_->disabled, @cust_location;
 
-if ( ( $prospect_main || $opt{'disable_empty'} ) && !$opt{'is_optional'} ) {
   $cust_location = $cust_location[0];
-}
+  if ( $prospect_main || $opt{'disable_empty'} )
+  && !$opt{'is_optional'}
+  && @cust_location;
 
 my $disabled =
   ( $locationnum < 0



More information about the freeside-commits mailing list