diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2017-11-15 16:00:26 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-06-19 09:25:23 -0400 |
| commit | c6edebe2dfd2ede484ee89ed03b5b14b13e7b507 (patch) | |
| tree | c66f62c1eabd5b41a7261c47b55f730fa4551409 | |
| parent | d65053a0357531b623d0ff715d3426301f242b2c (diff) | |
RT# 77470 - Fixed error with select reason drop down box, not working when no pre_options listed
| -rwxr-xr-x | httemplate/elements/tr-select-reason.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index 2fe676b1f..f25171fef 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -239,7 +239,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 ) { |
