From 90e90a436ac009014abef0c557ea371b42b124d0 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 21 Aug 2013 14:45:41 +0000 Subject: [PATCH] Bug 10761: (follow-up) use explicit return in C4::Reports::Guided::delete_report() Now that we care about the return value of this routine, we'll keep perlcritic happy. Signed-off-by: Galen Charlton --- C4/Reports/Guided.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index 39a06ffa6e..22a23dde9f 100644 --- 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 = <