From: Michael Gapczynski Date: Mon, 8 Apr 2013 00:05:54 +0000 (-0400) Subject: Correct undefined variable in post_shared hook, fixes #2592 X-Git-Tag: v6.0.0alpha2~926^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e704bcd96e7393616cb68da599710f20bed1b898;p=nextcloud-server.git Correct undefined variable in post_shared hook, fixes #2592 --- diff --git a/lib/public/share.php b/lib/public/share.php index 8b8a41d47c0..9ceec06ab93 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -1145,7 +1145,7 @@ class Share { 'itemTarget' => $groupItemTarget, 'parent' => $parent, 'shareType' => $shareType, - 'shareWith' => $uid, + 'shareWith' => $shareWith['group'], 'uidOwner' => $uidOwner, 'permissions' => $permissions, 'fileSource' => $fileSource,