View | Details | Raw Unified | Return to bug 6869
Collapse All | Expand All

(-)a/tools/batchMod.pl (-1 / +1 lines)
Lines 135-140 if ($op eq "action") { Link Here
135
	my (  $itemtagfield,   $itemtagsubfield) = &GetMarcFromKohaField("items.itemnumber", "");
135
	my (  $itemtagfield,   $itemtagsubfield) = &GetMarcFromKohaField("items.itemnumber", "");
136
	if ($values_to_modify){
136
	if ($values_to_modify){
137
	    my $xml = TransformHtmlToXml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag, 'ITEM');
137
	    my $xml = TransformHtmlToXml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag, 'ITEM');
138
        utf8::encode($xml);
138
	    $marcitem = MARC::Record::new_from_xml($xml, 'UTF-8');
139
	    $marcitem = MARC::Record::new_from_xml($xml, 'UTF-8');
139
        }
140
        }
140
        if ($values_to_blank){
141
        if ($values_to_blank){
141
- 

Return to bug 6869