aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/bookmarks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/bookmarks.php b/www/bookmarks.php
index 0753c16..3b1d50a 100644
--- a/www/bookmarks.php
+++ b/www/bookmarks.php
@@ -146,7 +146,7 @@ if ($userservice->isLoggedOn() && POST_SUBMITTED != '') {
$description = trim(POST_DESCRIPTION);
$privateNote = trim(POST_PRIVATENOTE);
$status = intval(POST_STATUS);
- $categories = trim(implode(',', $_POST['tags']));
+ $categories = explode(',', $_POST['tags']);
$saved = true;
if ($bookmarkservice->addBookmark($address, $title, $description, $privateNote, $status, $categories)) {
if (POST_POPUP != '') {