From 16edee6dbd8161258b57abba7634d63f022634a6 Mon Sep 17 00:00:00 2001 From: obog Date: Fri, 10 Mar 2023 15:17:50 +0300 Subject: [PATCH] Issues-693: fixed nested categories --- .../applications/vanilla/views/categories/helper_functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vanilla/applications/vanilla/views/categories/helper_functions.php b/vanilla/applications/vanilla/views/categories/helper_functions.php index 8648128..43fcbae 100644 --- a/vanilla/applications/vanilla/views/categories/helper_functions.php +++ b/vanilla/applications/vanilla/views/categories/helper_functions.php @@ -204,7 +204,8 @@ function writeListItem($category, $depth) { + $show = false; + if ($show && $writeChildren === 'list'): ?>