"vfs-mime: fixed empty filename always showed directory logo, now empty filename shows an empty cell"

This commit is contained in:
Ralf Becker 2009-02-25 15:55:17 +00:00
parent b969464f1e
commit 1ca2d5c02a

View File

@ -157,6 +157,11 @@ class vfs_widget
break;
case 'vfs-mime':
if (!$value)
{
$cell = etemplate::empty_cell();
return true;
}
if (!is_array($value))
{
if ($value[0] == '/' || count(explode('/',$value)) != 2)