* Filemanager/Mail: fixed not created thumbnails for readable shares

This commit is contained in:
Ralf Becker 2015-02-11 11:17:55 +00:00
parent 432e64fc9a
commit f4d6be1106

View File

@ -293,7 +293,7 @@ class vfs_stream_wrapper implements iface_stream_wrapper
{
return false;
}
if ($mode != 'r' && self::url_is_readonly($url))
if (str_replace('b', '', $mode) != 'r' && self::url_is_readonly($url))
{
return false;
}