"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:54:24 +00:00
parent b413a39b49
commit a80c2f92c8

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)