fix when folder name is '0'.
This commit is contained in:
parent
8987739842
commit
fb5db75b44
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user