[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Biblio.pm [rel_3_0]
From: |
Bruno Toumi |
Subject: |
[Koha-cvs] koha/C4 Biblio.pm [rel_3_0] |
Date: |
Fri, 17 Nov 2006 09:39:05 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Bruno Toumi <btoumi> 06/11/17 09:39:05
Modified files:
C4 : Biblio.pm
Log message:
bug fix double declaration of variable in same function
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Biblio.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.178.2.22&r2=1.178.2.23
Patches:
Index: Biblio.pm
===================================================================
RCS file: /sources/koha/koha/C4/Biblio.pm,v
retrieving revision 1.178.2.22
retrieving revision 1.178.2.23
diff -u -b -r1.178.2.22 -r1.178.2.23
--- Biblio.pm 15 Nov 2006 15:15:50 -0000 1.178.2.22
+++ Biblio.pm 17 Nov 2006 09:39:04 -0000 1.178.2.23
@@ -2117,10 +2117,10 @@
sub GetItemFromBarcode {
my ($barcode)address@hidden;
my $dbh=C4::Context->dbh;
- my $result;
+
my $rq=$dbh->prepare("SELECT itemnumber from items where items.barcode=?");
$rq->execute($barcode);
- my ($result)=$rq->fetchrow;
+ my($result)=$rq->fetchrow;
return($result);
}
@@ -4041,8 +4041,11 @@
=cut
-# $Id: Biblio.pm,v 1.178.2.22 2006/11/15 15:15:50 hdl Exp $
+# $Id: Biblio.pm,v 1.178.2.23 2006/11/17 09:39:04 btoumi Exp $
# $Log: Biblio.pm,v $
+# Revision 1.178.2.23 2006/11/17 09:39:04 btoumi
+# bug fix double declaration of variable in same function
+#
# Revision 1.178.2.22 2006/11/15 15:15:50 hdl
# Final First Version for New Facility for subscription management.
#