summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-reason.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-11-15 16:00:26 -0500
committerChristopher Burger <burgerc@freeside.biz>2017-11-15 16:00:26 -0500
commit679da2cb45e49797636f722abc52d41ee273ba00 (patch)
tree28760106f9cdde9b461f561ff48728d2a6b2fbaa /httemplate/elements/tr-select-reason.html
parent483528c704363ae7d0318a9651a8416ff07e946d (diff)
RT# 77470 - Fixed error with select reason drop down box, not working when no pre_options listed
Diffstat (limited to 'httemplate/elements/tr-select-reason.html')
-rwxr-xr-xhttemplate/elements/tr-select-reason.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html
index 6f126d327..a4e0c033e 100755
--- a/httemplate/elements/tr-select-reason.html
+++ b/httemplate/elements/tr-select-reason.html
@@ -220,7 +220,7 @@ my @reasons = qsearch({
my @pre_options = ( 0 => 'Select reason...' );
-@pre_options = @{ $opt{'pre_options'} if $opt{'pre_options'} };
+@pre_options = @{ $opt{'pre_options'} } if $opt{'pre_options'};
my @post_options;
if ( $curuser->access_right($add_access_right) && !$hide_addnew ) {