From 9d80f0de2de2e10a41dc6956bcffcd40fdbb01cd Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Mon, 4 Jun 2018 21:19:42 +0200
Subject: [PATCH] Bug 7651: (QA follow-up) Fix warning about undefined active
 currency

If no active currency is defined we show a warning. This fixes
the link shown below to check the correct permission.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
---
 koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc
index 18620599e2..8754cc0f1c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc
@@ -5,7 +5,7 @@
 [% ELSE %]
     <div class="dialog alert">
         <h3>No active currency is defined</h3>
-        [% IF CAN_user_parameters_parameters_remaining_permissions %]
+        [% IF CAN_user_acquisition_currencies_manage %]
             <p><a href="/cgi-bin/koha/admin/currency.pl">Please specify an active currency.</a></p>
         [% ELSE %]
             <p>Your administrator must specify an active currency.</p>
-- 
2.11.0