Bugzilla – Attachment 24412 Details for
Bug 11184
Fix wrong attribute type cloning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_11184: correct attribute cloning for the maint screen
bug11184-correct-attribute-cloning-for-the-maint-s.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2014-01-15 16:31:49 UTC
(
hide
)
Description:
bug_11184: correct attribute cloning for the maint screen
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-15 16:31:49 UTC
Size:
1.12 KB
patch
obsolete
>From edc131cd2f4a3891977ba4436e208ff0bfdcfcab Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Fri, 1 Nov 2013 21:24:11 +1300 >Subject: [PATCH] bug_11184: correct attribute cloning for the maint screen > >To test - Patron details entry page: >* Have ExtendedPatronAttributes enabled. Check that "Additional > attributes and identifiers" section behaves. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > members/memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 3d68e49..5a7b25b 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -808,7 +808,7 @@ sub patron_attributes_form { > }; > if (exists $attr_hash{$attr_type->code()}) { > foreach my $attr (@{ $attr_hash{$attr_type->code()} }) { >- my $newentry = { map { $_ => $entry->{$_} } %$entry }; >+ my $newentry = { %$entry }; > $newentry->{value} = $attr->{value}; > $newentry->{password} = $attr->{password}; > $newentry->{use_dropdown} = 0; >-- >1.7.10.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 11184
:
22664
|
24412
|
26619
|
26627
|
26702
|
26703