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

(-)a/C4/Reports/Guided.pm (-2 / +4 lines)
Lines 576-582 sub execute_query { Link Here
576
576
577
    my $dbh = C4::Context->dbh;
577
    my $dbh = C4::Context->dbh;
578
578
579
    $dbh->do( 'UPDATE saved_sql SET last_run = NOW() WHERE id = ?', undef, $report_id ) if $report_id;
579
    if ($report_id) {
580
        my $now = output_pref( { dt => dt_from_string(), dateformat => 'iso' } );
581
        $dbh->do( 'UPDATE saved_sql SET last_run = ? WHERE id = ?', undef, $now, $report_id );
582
    }
580
583
581
    my $sth = $dbh->prepare($sql);
584
    my $sth = $dbh->prepare($sql);
582
    eval {
585
    eval {
583
- 

Return to bug 27511