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

(-)a/C4/Reports/Guided.pm (-1 / +1 lines)
Lines 593-598 sub execute_query { Link Here
593
593
594
    $dbh->do( 'UPDATE saved_sql SET last_run = NOW() WHERE id = ?', undef, $report_id ) if $report_id;
594
    $dbh->do( 'UPDATE saved_sql SET last_run = NOW() WHERE id = ?', undef, $report_id ) if $report_id;
595
595
596
    $sql = "-- saved_sql.id=$report_id\n" . $sql;
596
    my $sth = $dbh->prepare($sql);
597
    my $sth = $dbh->prepare($sql);
597
    eval {
598
    eval {
598
        $sth->execute(@$sql_params, $offset, $limit);
599
        $sth->execute(@$sql_params, $offset, $limit);
599
- 

Return to bug 29579