From: Brice Maron Date: Sun, 24 Jun 2012 21:24:43 +0000 (+0000) Subject: Correct bookmark app : add through interface and remove missing css X-Git-Tag: v4.5.0beta1~74^2~403^2~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0fb9d0bf29a18c6fd463a4a62fcada2f473685d2;p=nextcloud-server.git Correct bookmark app : add through interface and remove missing css --- diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php index d66aab58960..6b5a0f71d4e 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_App::getAppPath('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 diff --git a/apps/bookmarks/templates/addBm.php b/apps/bookmarks/templates/addBm.php index dbe673f53a8..534bafe5885 100644 --- a/apps/bookmarks/templates/addBm.php +++ b/apps/bookmarks/templates/addBm.php @@ -3,7 +3,6 @@ Read later - ownCloud -

Saved!