[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week]
From: |
Mason James |
Subject: |
[Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week] |
Date: |
Wed, 16 May 2007 05:04:35 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Mason James <sushi> 07/05/16 05:04:35
Modified files:
C4/Circulation : Circ2.pm
Log message:
little fix to stop strict moaning about "my" variable $result masks
earlier declaration in same scope at..
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.87.2.14.2.29&r2=1.87.2.14.2.30
Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Attic/Circ2.pm,v
retrieving revision 1.87.2.14.2.29
retrieving revision 1.87.2.14.2.30
diff -u -b -r1.87.2.14.2.29 -r1.87.2.14.2.30
--- Circ2.pm 16 May 2007 05:01:34 -0000 1.87.2.14.2.29
+++ Circ2.pm 16 May 2007 05:04:35 -0000 1.87.2.14.2.30
@@ -3,7 +3,7 @@
package C4::Circulation::Circ2;
-# $Id: Circ2.pm,v 1.87.2.14.2.29 2007/05/16 05:01:34 sushi Exp $
+# $Id: Circ2.pm,v 1.87.2.14.2.30 2007/05/16 05:04:35 sushi Exp $
#package to deal with Returns
#written 3/11/99 by address@hidden
@@ -652,7 +652,8 @@
my $alreadyissued;
# check the 3 parameters
$sth->execute($cat_borrower, $type, $branch_borrower);
- my $result = $sth->fetchrow_hashref;
+ my $result;
+ $result = $sth->fetchrow_hashref;
# warn "==>".$result->{maxissueqty};
if (defined($result)) {
$sth2->execute($borrower->{'borrowernumber'}, "%$type%");
@@ -661,7 +662,7 @@
}
# check for branch=*
$sth->execute($cat_borrower, $type, "");
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth2->execute($borrower->{'borrowernumber'}, "%$type%");
my $alreadyissued = $sth2->fetchrow;
@@ -669,7 +670,7 @@
}
# check for itemtype=*
$sth->execute($cat_borrower, "*", $branch_borrower);
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth3->execute($borrower->{'borrowernumber'});
my ($alreadyissued) = $sth3->fetchrow;
@@ -677,7 +678,7 @@
}
#check for borrowertype=*
$sth->execute("*", $type, $branch_borrower);
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth2->execute($borrower->{'borrowernumber'}, "%$type%");
my $alreadyissued = $sth2->fetchrow;
@@ -685,7 +686,7 @@
}
$sth->execute("*", "*", $branch_borrower);
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth3->execute($borrower->{'borrowernumber'});
my $alreadyissued = $sth3->fetchrow;
@@ -693,7 +694,7 @@
}
$sth->execute("*", $type, "");
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result) && $result->{maxissueqty} ge 0) {
$sth2->execute($borrower->{'borrowernumber'}, "%$type%");
my $alreadyissued = $sth2->fetchrow;
@@ -701,7 +702,7 @@
}
$sth->execute($cat_borrower, "*", "");
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth2->execute($borrower->{'borrowernumber'}, "%$type%");
my $alreadyissued = $sth2->fetchrow;
@@ -709,7 +710,7 @@
}
$sth->execute("*", "*", "");
- my $result = $sth->fetchrow_hashref;
+ $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth3->execute($borrower->{'borrowernumber'});
my $alreadyissued = $sth3->fetchrow;
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/11
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/15
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Mason James, 2007/05/16
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week],
Mason James <=
- [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week], Kyle Hall, 2007/05/18