Bugzilla – Attachment 6589 Details for
Bug 7239
Acquisitions, add order to basket, from new, no item field filed, AcqCreateItem=ordering cause internal error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] bug 7239 fix to avoid error being thrown even though a record is created
SIGNED-OFF-bug-7239-fix-to-avoid-error-being-throw.patch (text/plain), 987 bytes, created by
Katrin Fischer
on 2011-12-06 06:01:52 UTC
(
hide
)
Description:
[SIGNED-OFF] bug 7239 fix to avoid error being thrown even though a record is created
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-12-06 06:01:52 UTC
Size:
987 bytes
patch
obsolete
>From 87a2af54028a35094ad3f5115858e6176caf9906 Mon Sep 17 00:00:00 2001 >From: Chris Hall <chrish@catalyst.net.nz> >Date: Tue, 6 Dec 2011 16:03:59 +1300 >Subject: [PATCH] [SIGNED-OFF] bug 7239 fix to avoid error being thrown even > though a record is created > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >When creating an item in acquisitions while ordering and not filling out >any fields, there is no longer shown a perl error message. >--- > C4/Biblio.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 52119ea..ac78ae3 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -2077,7 +2077,7 @@ sub TransformHtmlToXml { > } > $prevtag = @$tags[$i]; > } >- $xml .= "</datafield>\n" if @$tags > 0; >+ $xml .= "</datafield>\n" if $xml =~ m/<datafield/; > if ( C4::Context->preference('marcflavour') eq 'UNIMARC' and !$unimarc_and_100_exist ) { > > # warn "SETTING 100 for $auth_type"; >-- >1.7.5.4
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 7239
:
6324
|
6588
| 6589