diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl index 1e315f9d0d..8a2ac26934 100755 --- a/plugins/plugins-upload.pl +++ b/plugins/plugins-upload.pl @@ -47,7 +47,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $uploadfilename = $input->param('uploadfile'); my $uploadfile = $input->upload('uploadfile'); -my $op = $input->param('op'); +my $op = $input->param('op') || q{}; my ( $total, $handled, @counts, $tempfile, $tfh );