diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-23 18:39:37 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-23 18:39:37 +0200 |
commit | 1317b7c03dbbd98165ef29b50aa26bb1dd283cba (patch) | |
tree | 1cbdf778789f17a948cf6f2e2d0242fdb5190fc9 /core/ajax | |
parent | 1909288fcb9231006ae7703422f046309635b4e2 (diff) | |
download | nextcloud-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.php | 3 |
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)) { |