diff --git a/etemplate/inc/class.vfs_widget.inc.php b/etemplate/inc/class.vfs_widget.inc.php index a006cce1ce..f9355fbb97 100644 --- a/etemplate/inc/class.vfs_widget.inc.php +++ b/etemplate/inc/class.vfs_widget.inc.php @@ -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)