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

(-)a/C4/Reports/Guided.pm (-1 / +1 lines)
Lines 473-478 Returns id of the newly created report Link Here
473
473
474
sub save_report {
474
sub save_report {
475
    my ( $borrowernumber, $sql, $name, $type, $notes, $cache_expiry, $public ) = @_;
475
    my ( $borrowernumber, $sql, $name, $type, $notes, $cache_expiry, $public ) = @_;
476
    $cache_expiry ||= 0;
476
    my $dbh = C4::Context->dbh();
477
    my $dbh = C4::Context->dbh();
477
    $sql =~ s/(\s*\;\s*)$//; # removes trailing whitespace and /;/
478
    $sql =~ s/(\s*\;\s*)$//; # removes trailing whitespace and /;/
478
    my $query =
479
    my $query =
479
- 

Return to bug 8128