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

(-)a/tools/batchMod.pl (-2 lines)
Lines 141-147 if ($op eq "action") { Link Here
141
	my (  $itemtagfield,   $itemtagsubfield) = &GetMarcFromKohaField("items.itemnumber", "");
141
	my (  $itemtagfield,   $itemtagsubfield) = &GetMarcFromKohaField("items.itemnumber", "");
142
	if ($values_to_modify){
142
	if ($values_to_modify){
143
	    my $xml = TransformHtmlToXml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag, 'ITEM');
143
	    my $xml = TransformHtmlToXml(\@tags,\@subfields,\@values,\@indicator,\@ind_tag, 'ITEM');
144
        utf8::encode($xml);
145
	    $marcitem = MARC::Record::new_from_xml($xml, 'UTF-8');
144
	    $marcitem = MARC::Record::new_from_xml($xml, 'UTF-8');
146
        }
145
        }
147
        if ($values_to_blank){
146
        if ($values_to_blank){
148
- 

Return to bug 11493