<& /elements/xmlhttp.html,
url => $p . 'misc/xmlhttp-reason-hint.html',
subs => [ 'get_hint' ],
+ skip_empty => 1,
&>
<SCRIPT TYPE="text/javascript">
function <% $id %>_changed() {
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 ) {