summaryrefslogtreecommitdiffstats
path: root/lib/private/share/hooks.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-09-29 11:23:18 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-09-29 11:23:18 +0200
commit6e7acb8ae083c158fb412fa3e035e64a83063911 (patch)
tree65523f019b8d1869310b13347b538d70bf300359 /lib/private/share/hooks.php
parente5f0dded84a544f4ebd983ef8fb6d898df230575 (diff)
downloadnextcloud-server-6e7acb8ae083c158fb412fa3e035e64a83063911.tar.gz
nextcloud-server-6e7acb8ae083c158fb412fa3e035e64a83063911.zip
some small fixed, suggested by scrutinizer
Diffstat (limited to 'lib/private/share/hooks.php')
-rw-r--r--lib/private/share/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/hooks.php b/lib/private/share/hooks.php
index 2be7dc85e3c..66b197b921b 100644
--- a/lib/private/share/hooks.php
+++ b/lib/private/share/hooks.php
@@ -65,7 +65,7 @@ class Hooks extends \OC\Share\Constants {
// do we also need a file target
if ($item['item_type'] === 'file' || $item['item_type'] === 'folder') {
- $fileTarget = Helper::generateTarget('file', $row['file_target'], self::SHARE_TYPE_USER, $arguments['uid'],
+ $fileTarget = Helper::generateTarget('file', $item['file_target'], self::SHARE_TYPE_USER, $arguments['uid'],
$item['owner'], null, $item['parent']);
} else {
$fileTarget = null;