From dd097695ac61564f1e1d1c64577485239bd831a1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 11 Feb 2015 11:16:33 +0000 Subject: [PATCH] * Filemanager/Mail: fixed not created thumbnails for readable shares --- api/src/Vfs/StreamWrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Vfs/StreamWrapper.php b/api/src/Vfs/StreamWrapper.php index f4864904f8..53995e7b30 100644 --- a/api/src/Vfs/StreamWrapper.php +++ b/api/src/Vfs/StreamWrapper.php @@ -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; }