mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
"vfs-mime: fixed empty filename always showed directory logo, now empty filename shows an empty cell"
This commit is contained in:
parent
b969464f1e
commit
1ca2d5c02a
@ -157,6 +157,11 @@ class vfs_widget
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'vfs-mime':
|
case 'vfs-mime':
|
||||||
|
if (!$value)
|
||||||
|
{
|
||||||
|
$cell = etemplate::empty_cell();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (!is_array($value))
|
if (!is_array($value))
|
||||||
{
|
{
|
||||||
if ($value[0] == '/' || count(explode('/',$value)) != 2)
|
if ($value[0] == '/' || count(explode('/',$value)) != 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user