[Koha-bugs] [Bug 18339] Koha::Patron::Attribute ->opac_editable and -> opac_display should be removed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 27 21:56:42 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18339
--- Comment #3 from Marc Véron <veron at veron.ch> ---
Maybe the following, with the change below I can save without getting an
Internal Server error:
diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl
index 9f2a607..bc54508 100755
--- a/opac/opac-memberentry.pl
+++ b/opac/opac-memberentry.pl
@@ -535,7 +535,7 @@ sub GeneratePatronAttributesForm {
my ( $borrowernumber, $entered_attributes ) = @_;
# Get all attribute types and the values for this patron (if applicable)
- my @types = grep { $_->opac_editable() or $_->opac_display }
+ my @types = grep { $_->opac_editable or $_->opac_display }
Koha::Patron::Attribute::Types->search()->as_list();
if ( scalar(@types) == 0 ) {
return [];
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list