Skip to content
Snippets Groups Projects
Unverified Commit be223d1e authored by blizzz's avatar blizzz Committed by GitHub
Browse files

Merge pull request #22557 from nextcloud/bugfix/noid/group-share-failure

Do not fail if share for mountpoint is no longer available
parents 6a3b649e f96853a1
No related branches found
No related tags found
No related merge requests found
......@@ -511,7 +511,7 @@ class Manager {
WHERE `id` = ?
');
$result = (bool)$query->execute([(int)$share['id']]);
} elseif ($result && (int)$share['share_type'] === IShare::TYPE_GROUP) {
} elseif ($result && $share !== false && (int)$share['share_type'] === IShare::TYPE_GROUP) {
$query = $this->connection->prepare('
UPDATE `*PREFIX*share_external`
SET `accepted` = ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment