From fb5db75b44caa4c93d172d612184c073f2df9df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 28 Dec 2021 19:08:31 +0100 Subject: [PATCH] fix when folder name is '0'. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 165ae8b..5998391 100644 --- a/index.php +++ b/index.php @@ -221,7 +221,7 @@ function build_blocks( $items, $folder ) // IGNORE FILE if(in_array($item, $ignore_file_list)) { continue; } - if( $folder && $item ) + if( $folder !== false ) { $item = "$folder/$item"; }