diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 7748eec9fc..80145ef292 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -48,7 +48,7 @@ Script to control the guided report creation my $input = new CGI; my $usecache = C4::Context->ismemcached; -my $phase = $input->param('phase'); +my $phase = $input->param('phase') // ''; my $flagsrequired; if ( $phase eq 'Build new' or $phase eq 'Delete Saved' ) { $flagsrequired = 'create_reports';