Bugzilla – Attachment 16245 Details for
Bug 9835
Brackets missing for branches for patron attribute types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-bug-9835-Lack-of-brackets-in-patron-attr-types.pl-li.patch (text/plain), 1.03 KB, created by
Christophe Croullebois
on 2013-03-18 14:08:44 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Christophe Croullebois
Created:
2013-03-18 14:08:44 UTC
Size:
1.03 KB
patch
obsolete
>From 2567929d15258647e429209bf1d8b1087dce12ad Mon Sep 17 00:00:00 2001 >From: Christophe Croullebois <christophe.croullebois@biblibre.com> >Date: Mon, 18 Mar 2013 14:54:37 +0100 >Subject: [PATCH 1/1] bug 9835: Lack of brackets in patron-attr-types.pl line 300 > >produces a warning 'Can't call method "branches" on an undefined value'... >--- > admin/patron-attr-types.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl >index 3935f40..76c98df 100755 >--- a/admin/patron-attr-types.pl >+++ b/admin/patron-attr-types.pl >@@ -297,7 +297,7 @@ sub patron_attribute_type_list { > for my $attr (@attr_types) { > next if $attr->{class} ne $class; > my $attr_type = C4::Members::AttributeTypes->fetch($attr->{code}); >- $attr->{branches} = $attr_type->branches; >+ $attr->{branches} = $attr_type->{branches}; > push @items, $attr; > } > my $lib = GetAuthorisedValueByCode( 'PA_CLASS', $class ) || $class; >-- >1.7.0.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 9835
:
16245
|
16585