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

This commit is contained in:
Ralf Becker 2015-02-11 11:16:33 +00:00
parent 8f4c4237ed
commit dd097695ac

View File

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