diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-03-22 18:20:37 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-22 18:20:37 +0100 |
commit | 21c583a4cd7c6c74ba8f907c962df8718fc2b3a1 (patch) | |
tree | 114f4be0a9f467a1801a3f183d69f0b8c1c6a63f /www/bookmarks.php | |
parent | abc2ca6f79d14ed92fdd251284708212eba425dd (diff) | |
download | semanticscuttle-21c583a4cd7c6c74ba8f907c962df8718fc2b3a1.tar.gz semanticscuttle-21c583a4cd7c6c74ba8f907c962df8718fc2b3a1.tar.bz2 |
autocomplete with jquery (hardcoded tag list for now)
Diffstat (limited to 'www/bookmarks.php')
-rw-r--r-- | www/bookmarks.php | 2 |
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 != '') { |