[Koha-patches] [PATCH] Adding warnings to request/ files
Daniel Sweeney
daniel.sweeney at liblime.com
Wed Feb 4 17:46:22 CET 2009
From: Joshua Ferraro <jmf at liblime.com>
---
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 7774ec5..a88b67c 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 36379f8..96fdb7c 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 f4b2a65..2d26929 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 dcb6cae..65d749f 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/;
--
1.5.5.GIT
More information about the Koha-patches
mailing list