From: ivan Date: Sun, 20 Mar 2011 22:33:38 +0000 (+0000) Subject: qualification address handling changes, RT#7111 X-Git-Tag: freeside_2_3_0~479 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5f52339b62764ad59fa3e010fad8979dfc3d66ce qualification address handling changes, RT#7111 --- diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index a9c9382f4..1399240d9 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -305,7 +305,7 @@ push @cust_location, $cust_location @cust_location = sort $location_sort grep !$_->disabled, @cust_location; -$cust_location = $cust_location[0]; +$cust_location = $cust_location[0] if ( $prospect_main || $opt{'disable_empty'} ) && !$opt{'is_optional'} && @cust_location;