projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e189d41
)
Bug 10761: (follow-up) use explicit return in C4::Reports::Guided::delete_report()
author
Galen Charlton
<gmc@esilibrary.com>
Wed, 21 Aug 2013 14:45:41 +0000
(14:45 +0000)
committer
Galen Charlton
<gmc@esilibrary.com>
Wed, 21 Aug 2013 14:45:41 +0000
(14:45 +0000)
Now that we care about the return value of this routine, we'll keep
perlcritic happy.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reports/Guided.pm
patch
|
blob
|
history
diff --git
a/C4/Reports/Guided.pm
b/C4/Reports/Guided.pm
index
39a06ff
..
22a23dd
100644
(file)
--- a/
C4/Reports/Guided.pm
+++ b/
C4/Reports/Guided.pm
@@
-614,7
+614,7
@@
sub delete_report {
my $dbh = C4::Context->dbh;
my $query = 'DELETE FROM saved_sql WHERE id IN (' . join( ',', ('?') x @ids ) . ')';
my $sth = $dbh->prepare($query);
- $sth->execute(@ids);
+
return
$sth->execute(@ids);
}
my $SAVED_REPORTS_BASE_QRY = <<EOQ;