summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-23 18:39:37 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-23 18:39:37 +0200
commit1317b7c03dbbd98165ef29b50aa26bb1dd283cba (patch)
tree1cbdf778789f17a948cf6f2e2d0242fdb5190fc9 /core/ajax
parent1909288fcb9231006ae7703422f046309635b4e2 (diff)
downloadnextcloud-server-1317b7c03dbbd98165ef29b50aa26bb1dd283cba.tar.gz
nextcloud-server-1317b7c03dbbd98165ef29b50aa26bb1dd283cba.zip
pass the name of the item source from the browser to the server - no need to get the data via complicated db queries
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/share.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index 0dacc17d3a5..be02c056357 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -41,7 +41,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
$_POST['itemSource'],
$shareType,
$shareWith,
- $_POST['permissions']
+ $_POST['permissions'],
+ $_POST['itemSourceName']
);
if (is_string($token)) {