From f4d6be11063325624bfc3dba4c260a2e3c92b7d5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 11 Feb 2015 11:17:55 +0000 Subject: [PATCH] * Filemanager/Mail: fixed not created thumbnails for readable shares --- phpgwapi/inc/class.vfs_stream_wrapper.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php index 6aae8f2ab8..d6d56cb60b 100644 --- a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php @@ -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; }