fix problem with attaching files with spaces to mails

This commit is contained in:
Klaus Leithoff 2013-03-21 12:46:41 +00:00
parent 311561b8ab
commit ab509a6ba2

View File

@ -352,7 +352,7 @@
'name' => $name,
'type' => $type,
'file' => $path,
'size' => filesize($path),
'size' => filesize(urldecode($path)),
);
if ($formData['type'] == egw_vfs::DIR_MIME_TYPE) continue; // ignore directories
}