Bugzilla – Attachment 43829 Details for
Bug 14670
Add 'cite' option to detail page in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14670: fix ControlStructures::ProhibitMutatingListFunctions
Bug-14670-fix-ControlStructuresProhibitMutatingLis.patch (text/plain), 819 bytes, created by
Martin Stenberg
on 2015-10-23 13:25:32 UTC
(
hide
)
Description:
Bug 14670: fix ControlStructures::ProhibitMutatingListFunctions
Filename:
MIME Type:
Creator:
Martin Stenberg
Created:
2015-10-23 13:25:32 UTC
Size:
819 bytes
patch
obsolete
>From 73d247653684fa99377c3847ec8b595ff0c09e38 Mon Sep 17 00:00:00 2001 >From: Martin Stenberg <martin@xinxidi.net> >Date: Fri, 23 Oct 2015 15:20:37 +0200 >Subject: [PATCH] Bug 14670: fix > ControlStructures::ProhibitMutatingListFunctions > >--- > C4/Record.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Record.pm b/C4/Record.pm >index aeea6f6..e3edfa6 100644 >--- a/C4/Record.pm >+++ b/C4/Record.pm >@@ -845,7 +845,7 @@ sub marc2cites { > if($author =~ /([^,]+),?(.*)/) { > my %a; > ($a{'surname'} = $1) =~ s/$re_clean//g; >- $a{'forenames'} = [map {s/$re_clean//g;$_} split ' ', $2]; >+ $a{'forenames'} = [map {my $t=$_;$t=~s/$re_clean//g;$t} split ' ', $2]; > push(@authors, \%a); > } > } >-- >2.6.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 14670
:
41441
|
42971
|
43508
|
43770
|
43771
|
43828
|
43829
|
43919
|
43920
|
43921
|
43922
|
43923
|
43924
|
75679
|
75680
|
75681
|
75682
|
75683
|
161600
|
161601
|
161602
|
161603
|
161604
|
161605
|
161606
|
161607
|
166474
|
167528
|
167529
|
167530
|
167531
|
167532
|
167533
|
167534
|
167535
|
173515
|
173516
|
173517
|
173518
|
173519
|
173520
|
173521
|
173522
|
173523
|
173524
|
174453