@@ -, +, @@ - Make sure that no active currency is defined. You can undefine the active currency in Administration->Currencies and exchange rates - Try to go to Administration->Budgets and Admistration->Funds - Apply patch - Restart plack - Try to reproduce issue, it should no longer occur. There should be a yellow message box "No active currency is defined" - From Administration-> Budgets administration try to edit a fund and go to "Planning". Verify that the message box appears here as well. --- admin/aqbudgetperiods.pl | 8 +++++--- admin/aqbudgets.pl | 8 +++++--- admin/aqplan.pl | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) --- a/admin/aqbudgetperiods.pl +++ a/admin/aqbudgetperiods.pl @@ -91,9 +91,11 @@ my ($template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user( # This is used in incbudgets-active-currency.inc my $active_currency = Koha::Acquisition::Currencies->get_active; -$template->param( symbol => $active_currency->symbol, - currency => $active_currency->currency - ); +if ( $active_currency ) { + $template->param( symbol => $active_currency->symbol, + currency => $active_currency->currency + ); +} # ADD OR MODIFY A BUDGET PERIOD - BUILD SCREEN if ( $op eq 'add_form' ) { --- a/admin/aqbudgets.pl +++ a/admin/aqbudgets.pl @@ -50,9 +50,11 @@ my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user( ); my $active_currency = Koha::Acquisition::Currencies->get_active; -$template->param( symbol => $active_currency->symbol, - currency => $active_currency->currency - ); +if ( $active_currency ) { + $template->param( symbol => $active_currency->symbol, + currency => $active_currency->currency + ); +} my $op = $input->param('op') || 'list'; --- a/admin/aqplan.pl +++ a/admin/aqplan.pl @@ -58,9 +58,11 @@ my $budget_period_id = $input->param('budget_period_id'); my $period = GetBudgetPeriod($budget_period_id); my $count = GetPeriodsCount(); my $active_currency = Koha::Acquisition::Currencies->get_active; -$template->param( symbol => $active_currency->symbol, - currency => $active_currency->currency, - ); +if ( $active_currency ) { + $template->param( symbol => $active_currency->symbol, + currency => $active_currency->currency, + ); +} $template->param( period_button_only => 1 ) if $count == 0; --