diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2017-11-15 16:00:26 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-06-18 16:05:44 -0400 |
| commit | d6854fbb7a94e8be85d2d66aea2328e6e4bc9725 (patch) | |
| tree | 85c01e25ee72e637dba96661eede957293c7e082 | |
| parent | ff359277b27645b286e1c98f686848f83819d2ba (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 6f739fc1d..b0aa94af5 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -221,7 +221,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 ) { |
