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 57b7521..a059ea0 100644
--- a/views/new-post.php
+++ b/views/new-post.php
@@ -213,7 +213,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);