diff --git a/views/new-post.php b/views/new-post.php index 030ca61..c03bb5b 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -689,7 +689,7 @@ $(function(){ syndications.push($(btn).data('syndicate-to')); }); - var category = csv_to_array($("#note_category").val()); + var category = $("#note_category").tokenfield("getTokens"); var formData = new FormData(); var entry = {};