From 72c69eb4c54631f1ea0aa88ebff9e2188fb0475a 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 Signed-off-by: Fridolin Somers --- 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 ca0a7fd39f..9b33d07807 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.39.5