From f823508b9edbb1ecb1bd20d2efbb8284697c85da Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Wed, 4 Feb 2009 10:46:22 -0600 Subject: [PATCH] Adding warnings to request/ files Signed-off-by: Galen Charlton --- reserve/modrequest.pl | 1 + reserve/placerequest.pl | 1 + reserve/renewscript.pl | 4 ++-- reserve/request.pl | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index 7774ec58b8..a88b67c115 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -23,6 +23,7 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; +use warnings; use CGI; use C4::Output; use C4::Reserves; diff --git a/reserve/placerequest.pl b/reserve/placerequest.pl index 36379f8b96..96fdb7cf63 100755 --- a/reserve/placerequest.pl +++ b/reserve/placerequest.pl @@ -22,6 +22,7 @@ # Suite 330, Boston, MA 02111-1307 USA use strict; +use warnings; use C4::Biblio; use C4::Items; use CGI; diff --git a/reserve/renewscript.pl b/reserve/renewscript.pl index f4b2a6523c..2d269296f3 100755 --- a/reserve/renewscript.pl +++ b/reserve/renewscript.pl @@ -21,12 +21,12 @@ # You should have received a copy of the GNU General Public License along with # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, # Suite 330, Boston, MA 02111-1307 USA - +use strict; +use warnings; use CGI; use C4::Circulation; use C4::Auth; use C4::Dates qw/format_date_in_iso/; -use strict; my $input = new CGI; #Set Up User_env diff --git a/reserve/request.pl b/reserve/request.pl index dcb6cae272..65d749f1b9 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -26,6 +26,7 @@ script to place reserves/requests =cut use strict; +use warnings; use C4::Branch; # GetBranches get_branchinfos_of use CGI; use List::MoreUtils qw/uniq/; -- 2.39.5