@@ -, +, @@
---
.../intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
@@ -65,7 +65,7 @@
[% IF ( circview ) %]- [% ELSE %]
- [% END %]Check out
[% IF Koha.Preference('BatchCheckouts') &&
- Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep(categorycode).size > 0 %]
+ Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ categorycode _ '$').size > 0 %]
[% IF ( batch_checkout_view ) %]- [% ELSE %]
- [% END %]Batch check out
[% END %]
[% IF ( CAN_user_borrowers ) %]
--