From 54e8c056226e27b3c9dfe424dd715c8adfaf3502 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 11 Feb 2022 08:54:27 +0100 Subject: [PATCH] Bug 29844: Fix selenium/administration_tasks.t --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index ca0a7fd39f9..9b33d078070 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -369,7 +369,7 @@ [% FOREACH itemtypeloo IN itemtypeloop %] [% NEXT IF itemtypeloo.parent_type %] [% SET children = itemtypeloo.children_with_localization %] - [% IF children %] + [% IF children.count %] [% FOREACH child IN children %] -- 2.25.1