We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a3b649 + f96853a commit be223d1Copy full SHA for be223d1
1 file changed
apps/files_sharing/lib/External/Manager.php
@@ -511,7 +511,7 @@ public function removeShare($mountPoint) {
511
WHERE `id` = ?
512
');
513
$result = (bool)$query->execute([(int)$share['id']]);
514
- } elseif ($result && (int)$share['share_type'] === IShare::TYPE_GROUP) {
+ } elseif ($result && $share !== false && (int)$share['share_type'] === IShare::TYPE_GROUP) {
515
$query = $this->connection->prepare('
516
UPDATE `*PREFIX*share_external`
517
SET `accepted` = ?
0 commit comments