From 7f6ccf75df043a6fbc829e25cdd64becb3029633 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 13 Feb 2024 23:34:17 +0200 Subject: [PATCH] fix condition warning --- templates/default/room/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/room/index.html.twig b/templates/default/room/index.html.twig index eb22784..89660c4 100644 --- a/templates/default/room/index.html.twig +++ b/templates/default/room/index.html.twig @@ -38,7 +38,7 @@ | markdown_to_html }} - {% if post.tree | length %} + {% if post.tree is defined and post.tree | length %} {{ self.recursive_post_tree(mode, namespace, post.tree) }} {% endif %}