View | Details | Raw Unified | Return to bug 27432
Collapse All | Expand All

(-)a/C4/Reports/Guided.pm (-2 / +1 lines)
Lines 542-548 sub execute_query { Link Here
542
    my ( $sql, $offset, $limit, $sql_params, $report_id ) = @_;
542
    my ( $sql, $offset, $limit, $sql_params, $report_id ) = @_;
543
543
544
    $sql_params = [] unless defined $sql_params;
544
    $sql_params = [] unless defined $sql_params;
545
    my $report = Koha::Reports->find($report_id) if $report_id;
545
    my $report = $report_id ? Koha::Reports->find($report_id) : undef;
546
    my $report_name = $report ? $report->report_name : 'Unknown report';
546
    my $report_name = $report ? $report->report_name : 'Unknown report';
547
547
548
    # check parameters
548
    # check parameters
549
- 

Return to bug 27432