fix when file name is '0'.
This commit is contained in:
parent
fb5db75b44
commit
c963b349e1
@ -242,10 +242,7 @@ function build_blocks( $items, $folder )
|
|||||||
$file_time = date("U", filemtime($item));
|
$file_time = date("U", filemtime($item));
|
||||||
|
|
||||||
// FILES
|
// FILES
|
||||||
if( $item )
|
$objects['files'][$file_time . "-" . $item] = $item;
|
||||||
{
|
|
||||||
$objects['files'][$file_time . "-" . $item] = $item;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($objects['directories'] as $c => $file)
|
foreach($objects['directories'] as $c => $file)
|
||||||
|
Loading…
Reference in New Issue
Block a user