Bug 26707: Prevent warning

Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc line 158.

See commit ab29b5efdc
    Bug 18762: Remove warnings from xt/author/valid-templates.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-01-04 16:06:34 +01:00
parent ff2c52e093
commit 66a3ec9452
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ CAN_user_serials_create_subscription ) %]
[% END %]
[% END %]
<li role="separator" class="divider"></li>
[% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %]
[% IF ( add_to_some_private_shelves and add_to_some_private_shelves.count > 10 ) or ( add_to_some_public_shelves and add_to_some_public_shelves.count > 10 ) %]
<li>
<a href="#" class="addtolist morelists">More lists</a>
</li>