summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-20 23:14:46 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-20 23:14:46 +0200
commit6dfb2afa293a2bb21eb22da41ee78275ab96fee5 (patch)
treeecb3a1795ef7518f0058dedbca507c6aa8c6c2da /lib/private
parent5c4e6b1c3ef83121dcd80442d238d0b18ffcd07f (diff)
parent5fadc7e3c6b063c5dd6d63c93ec09e753f83baa8 (diff)
downloadnextcloud-server-6dfb2afa293a2bb21eb22da41ee78275ab96fee5.tar.gz
nextcloud-server-6dfb2afa293a2bb21eb22da41ee78275ab96fee5.zip
Merge pull request #17368 from owncloud/fix_16740_7.0
[stable7] owner is stored as 'uid_owner', not as 'owner' in the oc_share table
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/share/hooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/share/hooks.php b/lib/private/share/hooks.php
index 66b197b921b..3cf5ceb1177 100644
--- a/lib/private/share/hooks.php
+++ b/lib/private/share/hooks.php
@@ -61,12 +61,12 @@ class Hooks extends \OC\Share\Constants {
$itemTarget = $sourceExists['item_target'];
} else {
$itemTarget = Helper::generateTarget($item['item_type'], $item['item_source'], self::SHARE_TYPE_USER, $arguments['uid'],
- $item['owner'], null, $item['parent']);
+ $item['uid_owner'], null, $item['parent']);
// do we also need a file target
if ($item['item_type'] === 'file' || $item['item_type'] === 'folder') {
$fileTarget = Helper::generateTarget('file', $item['file_target'], self::SHARE_TYPE_USER, $arguments['uid'],
- $item['owner'], null, $item['parent']);
+ $item['uid_owner'], null, $item['parent']);
} else {
$fileTarget = null;
}