summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-04-07 20:05:54 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2013-04-07 20:05:54 -0400
commite704bcd96e7393616cb68da599710f20bed1b898 (patch)
tree13e3ddf5a0e96dbc4da98c151d19fbade9c8e889 /lib
parent6798b6dc349e8754c4a5bf13b6ac7530bf12e931 (diff)
downloadnextcloud-server-e704bcd96e7393616cb68da599710f20bed1b898.tar.gz
nextcloud-server-e704bcd96e7393616cb68da599710f20bed1b898.zip
Correct undefined variable in post_shared hook, fixes #2592
Diffstat (limited to 'lib')
-rw-r--r--lib/public/share.php2
1 files changed, 1 insertions, 1 deletions
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,