https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43291 Saiful Amin <saiful@semanticconsulting.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |saiful@semanticconsulting.c | |om --- Comment #2 from Saiful Amin <saiful@semanticconsulting.com> --- (In reply to Martin Renvoize (ashimema) from comment #1)
Use Koha::Acquisition::Currencies->get_active's isocode when one is configured, falling back to 'USD' (the previous behaviour) when no active currency exists.
If I understand correctly, the isocode column is varchar(5) as per this: https://schema.koha-community.org/26_05/tables/currency.html As per SIP2 Protocol Definition doc (page 13): currency type BH 3-char fixed-length optional field Based on the above, this looks wrong: $self->{sip_currency} = $active_currency->isocode if $active_currency && $active_currency->isocode; -- You are receiving this mail because: You are watching all bug changes.