fix when folder name is '0'.

This commit is contained in:
Miroslav Šedivý 2021-12-28 19:08:31 +01:00
parent 8987739842
commit fb5db75b44

View File

@ -221,7 +221,7 @@ function build_blocks( $items, $folder )
// IGNORE FILE // IGNORE FILE
if(in_array($item, $ignore_file_list)) { continue; } if(in_array($item, $ignore_file_list)) { continue; }
if( $folder && $item ) if( $folder !== false )
{ {
$item = "$folder/$item"; $item = "$folder/$item";
} }