diff --git a/filemanager/inc/class.filemanager_shares.inc.php b/filemanager/inc/class.filemanager_shares.inc.php index 1b3c7b36b2..96e2b80dff 100644 --- a/filemanager/inc/class.filemanager_shares.inc.php +++ b/filemanager/inc/class.filemanager_shares.inc.php @@ -77,6 +77,11 @@ class filemanager_shares extends filemanager_ui } unset($query['col_filter']['type']); + if (class_exists('EGroupware\\Collabora\\Wopi')) + { + $query['col_filter'][] = 'share_writable != '.(int)EGroupware\Collabora\Wopi::WOPI_SHARE; + } + if ((string)$query['col_filter']['share_passwd'] !== '') { $query['col_filter'][] = $query['col_filter']['share_passwd'] === 'yes' ?