[Koha-bugs] [Bug 7474] Error handling for 100$a incorrect value
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 20 16:18:22 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7474
--- Comment #1 from Adrien SAURAT <adrien.saurat at biblibre.com> ---
I don't totally understand this field, would it make sense to use the
SetMarcUnicodeFlag function found in C4/Charset ?
Doing something like:
if ( $is_a_modif ) {
ModBiblioframework( $biblionumber, $frameworkcode );
ModBiblio( $record, $biblionumber, $frameworkcode );
}
else {
eval { C4::Charset::SetMarcUnicodeFlag( $record, $frameworkcode )};
if ( $@ ){
warn "ERROR when setting Marc unicode flag: " . $@;
}
else {
( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode
);
}
}
where the code we have now is simply like:
if ( $is_a_modif ) {
ModBiblioframework( $biblionumber, $frameworkcode );
ModBiblio( $record, $biblionumber, $frameworkcode );
}
else {
( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode
);
}
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list