]> source.dussan.org Git - nextcloud-server.git/commitdiff
Correct undefined variable in post_shared hook, fixes #2592
authorMichael Gapczynski <mtgap@owncloud.com>
Mon, 8 Apr 2013 00:05:54 +0000 (20:05 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Mon, 8 Apr 2013 00:05:54 +0000 (20:05 -0400)
lib/public/share.php

index 8b8a41d47c0f21121b82e97ec02bf3c1d3627c46..9ceec06ab93ef89c41719e46a9e4f35b2fa26c4a 100644 (file)
@@ -1145,7 +1145,7 @@ class Share {
                                'itemTarget' => $groupItemTarget,
                                'parent' => $parent,
                                'shareType' => $shareType,
-                               'shareWith' => $uid,
+                               'shareWith' => $shareWith['group'],
                                'uidOwner' => $uidOwner,
                                'permissions' => $permissions,
                                'fileSource' => $fileSource,