diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
index 26b5efc917..2ec1e6e2ec 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
@@ -101,9 +101,9 @@ $.tablesorter.addParser({
Please note: Your library card has been marked as lost or stolen. If this is an error, please contact the library.
[% END %]
[% IF ( renewal_blocked_fines ) && ( OpacRenewalAllowed ) %]
- Please note: Since you have more than [% renewal_blocked_fines %] in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
+ Please note: Since you have [% IF renewal_blocked_fines != "0.00" %] more than [% renewal_blocked_fines %] in [% END %] fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.
[% ELSIF ( renewal_blocked_fines ) %]
- Please note: You currently owe [% renewal_blocked_fines %] in fines.
+ Please note: You currently owe [% renewal_blocked_fines_amountoutstanding %] in fines.
[% END %]
[% END %]
diff --git a/opac/opac-user.pl b/opac/opac-user.pl
index 50a167e907..eee3d383b0 100755
--- a/opac/opac-user.pl
+++ b/opac/opac-user.pl
@@ -109,7 +109,8 @@ if ( $borr->{amountoutstanding} > $no_renewal_amt ) {
$borr->{'flagged'} = 1;
$canrenew = 0;
$template->param(
- renewal_blocked_fines => sprintf( '%.02f', $borr->{amountoutstanding} ),
+ renewal_blocked_fines => sprintf( '%.02f', $no_renewal_amt ),
+ renewal_blocked_fines_amountoutstanding => sprintf( '%.02f', $borr->{amountoutstanding} ),
);
}