TransformHtmlToXml() now checks from UNIMARC flavour, before inserting encoding info to 100$a
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
fb61283115
commit
5dacccedec
|
|
@ -2575,7 +2575,7 @@ sub TransformHtmlToXml {
|
|||
}
|
||||
$prevtag = @$tags[$i];
|
||||
}
|
||||
if (C4::Context->preference('marcflavour') and !$unimarc_and_100_exist) {
|
||||
if (C4::Context->preference('marcflavour') eq 'UNIMARC' and !$unimarc_and_100_exist) {
|
||||
# warn "SETTING 100 for $auth_type";
|
||||
use POSIX qw(strftime);
|
||||
my $string = strftime( "%Y%m%d", localtime(time) );
|
||||
|
|
|
|||
Loading…
Reference in New Issue