fix when file name is '0'.

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

View File

@ -242,10 +242,7 @@ function build_blocks( $items, $folder )
$file_time = date("U", filemtime($item));
// FILES
if( $item )
{
$objects['files'][$file_time . "-" . $item] = $item;
}
$objects['files'][$file_time . "-" . $item] = $item;
}
foreach($objects['directories'] as $c => $file)