Bugzilla – Attachment 3815 Details for
Bug 6124
In transferstoreceive.pl some biblios are empty.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-Bug-6124-In-transferstoreceive.pl-some-biblios-are-e.patch (text/plain), 1.20 KB, created by
Julian Maurice
on 2011-04-07 15:24:36 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2011-04-07 15:24:36 UTC
Size:
1.20 KB
patch
obsolete
>From 8ff69810acd085cbadb26383146038431437afb7 Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Tue, 15 Feb 2011 17:39:39 +0100 >Subject: [PATCH] Bug 6124: In transferstoreceive.pl some biblios are empty. > >Due to the fact that it is possible to have some lines in branchtransfers with an itemnumber that does not exists in table items. >With the patch in this case the line with no biblios is omitted. > >BibLibre MT5425 >--- > circ/transferstoreceive.pl | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl >index 86f7992..161fc75 100755 >--- a/circ/transferstoreceive.pl >+++ b/circ/transferstoreceive.pl >@@ -87,6 +87,9 @@ foreach my $br ( keys %$branches ) { > $getransf{'diff'} = $diff; > } > my $gettitle = GetBiblioFromItemNumber( $num->{'itemnumber'} ); >+ if (!defined ($gettitle)){ >+ next; >+ } > my $itemtypeinfo = getitemtypeinfo( (C4::Context->preference('item-level_itypes')) ? $gettitle->{'itype'} : $gettitle->{'itemtype'} ); > > $getransf{'datetransfer'} = format_date( $num->{'datesent'} ); >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6124
: 3815