summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/new-post.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/new-post.php b/views/new-post.php
index 3ff8951..8e9c692 100644
--- a/views/new-post.php
+++ b/views/new-post.php
@@ -220,7 +220,9 @@ $(function(){
}
}
if(syndications.length > 0) {
- formData.append("syndicate-to", syndications);
+ for(var i in syndications) {
+ formData.append("syndicate-to[]", syndications[i]);
+ }
}
if(v=$("#note_slug").val()) {
formData.append("slug", v);