diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 79cf344d4c..30ba337034 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -404,11 +404,10 @@
[% Branches.GetName(item.homebranch) | html %]
- [%# If permanent location is defined, show description or code and
- display current location in parentheses. If not, display current location.
- Note that permanent location is a code, and location may be an authval.
- %]
- [% IF item.permanent_location %]
+ [%# If permanent location is defined, show description or code and %]
+ [%# display current location in parentheses. If not, display current location. %]
+ [%# Note that permanent location is a code, and location may be an authval. %]
+ [% IF item.permanent_location %]
[% SET permloc_authval = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.permanent_location ) %]
[% permloc_authval | html %]
[% SET item_location = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) %]
|