Skip to content

Commit a4c1b6b

Browse files
committed
Reinstate mandatory only borrower attributes on patron quick add
1 parent e13b86b commit a4c1b6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Koha/Plugin/Com/PTFSEurope/IllActions.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ sub get_patron_attribute_types_template {
167167

168168
if ( Koha::Patron::Attribute::Types->can('patron_attributes_form') ) {
169169
my $template = C4::Templates::gettemplate( $self->mbf_path('patron-attribute-types.tt'), 'intranet', undef );
170-
Koha::Patron::Attribute::Types::patron_attributes_form( $template, undef, undef, {} );
170+
Koha::Patron::Attribute::Types::patron_attributes_form( $template, undef, undef, {mandatory => 1} );
171171
return $template->output;
172172
}
173173
return '';

0 commit comments

Comments
 (0)