From 880a2088ad3571a6ede736f86ef70b34e6cf884c Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 27 Jan 2010 08:58:26 -0500 Subject: [PATCH] bugfix - fix compilation error Reflect change of GetLocalCurrency to GetCurrency in new_acq Signed-off-by: Galen Charlton --- admin/preferences.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/preferences.pl b/admin/preferences.pl index b4f32a0312..5bc4c09604 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -28,7 +28,7 @@ use C4::Languages qw(getTranslatedLanguages); use C4::ClassSource; use C4::Log; use C4::Output; -use C4::Bookfund qw(GetLocalCurrency); +use C4::Budget qw(GetCurrency); use File::Spec; use IO::File; use YAML::Syck qw(); @@ -44,7 +44,7 @@ sub GetTab { my $tab_template = C4::Output::gettemplate( 'admin/preferences/' . $tab . '.pref', 'intranet', $input ); $tab_template->param( - local_currency => GetLocalCurrency()->{'currency'}, # currency code is used, because we do not know how a given currency is formatted. + local_currency => GetCurrency()->{'currency'}, # currency code is used, because we do not know how a given currency is formatted. ); return YAML::Syck::Load( $tab_template->output() ); -- 2.39.5