projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b48e1
)
qualification address handling changes, RT#7111
author
ivan
<ivan>
Sun, 20 Mar 2011 22:33:13 +0000
(22:33 +0000)
committer
ivan
<ivan>
Sun, 20 Mar 2011 22:33:13 +0000
(22:33 +0000)
httemplate/elements/tr-select-cust_location.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-select-cust_location.html
b/httemplate/elements/tr-select-cust_location.html
index
b882c3d
..
a9c9382
100644
(file)
--- a/
httemplate/elements/tr-select-cust_location.html
+++ b/
httemplate/elements/tr-select-cust_location.html
@@
-305,9
+305,10
@@
push @cust_location, $cust_location
@cust_location = sort $location_sort grep !$_->disabled, @cust_location;
-if ( ( $prospect_main || $opt{'disable_empty'} ) && !$opt{'is_optional'} ) {
- $cust_location = $cust_location[0];
-}
+$cust_location = $cust_location[0];
+ if ( $prospect_main || $opt{'disable_empty'} )
+ && !$opt{'is_optional'}
+ && @cust_location;
my $disabled =
( $locationnum < 0