Bugzilla – Attachment 13413 Details for
Bug 9046
Items are not exported with the tools/export.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9046: Followup FIX perl v.10 raises an error if itemnumbers if undefined
Bug-9046-Followup-FIX-perl-v10-raises-an-error-if-.patch (text/plain), 995 bytes, created by
Mason James
on 2012-11-13 02:53:13 UTC
(
hide
)
Description:
Bug 9046: Followup FIX perl v.10 raises an error if itemnumbers if undefined
Filename:
MIME Type:
Creator:
Mason James
Created:
2012-11-13 02:53:13 UTC
Size:
995 bytes
patch
obsolete
>From a34d83c98fa07fa6d93738cd35f2d3f3d8375353 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 12 Nov 2012 10:18:30 +0100 >Subject: [PATCH] Bug 9046: Followup FIX perl v.10 raises an error if itemnumbers if undefined >Content-Type: text/plain; charset="utf-8" >http://koha-community.org > >If the itemnumbers parameter is undef, perl raises an error : >"Can't use an undefined value as an ARRAY reference" > >Signed-off-by: Mason James <mtj@kohaaloha.com> >--- > C4/Biblio.pm | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index eb213d5..25fcf31 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -2841,6 +2841,8 @@ sub EmbedItemsInMarcBiblio { > my ($marc, $biblionumber, $itemnumbers) = @_; > croak "No MARC record" unless $marc; > >+ $itemnumbers = [] unless defined $itemnumbers; >+ > my $frameworkcode = GetFrameworkCode($biblionumber); > _strip_item_fields($marc, $frameworkcode); > >-- >1.7.2.5
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 9046
:
13366
|
13369
|
13389
|
13413
|
21378
|
21379
|
21568
|
21569