@@ -, +, @@
---
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 2 +-
tools/batchMod.pl | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc
@@ -152,7 +152,7 @@
[% IF add_delete_checkbox %]
[% UNLESS ( subfield.mandatory ) %]
-
+
[% ELSE %]
Required
[% END %]
--- a/tools/batchMod.pl
+++ a/tools/batchMod.pl
@@ -138,8 +138,7 @@ if ( $op eq "action" ) {
. encode_utf8($attr)
; # We need to deal correctly with encoding on subfield codes
- if ( grep { $attr eq $_ } @subfields_to_blank ) {
-
+ if ( grep { $cgi_var_name eq $_ } @subfields_to_blank ) {
# Empty this column
$new_item_data->{$attr} = undef;
}
--