summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/ajax/addBookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/ajax/addBookmark.php')
-rw-r--r--apps/bookmarks/ajax/addBookmark.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php
index 9241dc8ddf6..a2eb506f85e 100644
--- a/apps/bookmarks/ajax/addBookmark.php
+++ b/apps/bookmarks/ajax/addBookmark.php
@@ -31,5 +31,5 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('bookmarks');
require_once(OC::$APPSROOT . '/apps/bookmarks/bookmarksHelper.php');
-$id = addBookmark($_GET['url'], $_GET['title'], $_GET['tags']);
+$id = addBookmark($_POST['url'], $_POST['title'], $_POST['tags']);
OCP\JSON::success(array('data' => $id)); \ No newline at end of file