diff options
Diffstat (limited to 'views/new-post.php')
-rw-r--r-- | views/new-post.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/new-post.php b/views/new-post.php index 7059c5e..57a2ffa 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -429,7 +429,7 @@ $(function(){ } if(syndications.length > 0) { for(var i in syndications) { - formData.append("syndicate-to[]", syndications[i]); + formData.append("<?= $this->user->micropub_syndicate_field ?>[]", syndications[i]); } } if(v=$("#note_slug").val()) { @@ -485,7 +485,7 @@ $(function(){ location: $("#note_location").val(), category: category, slug: $("#note_slug").val(), - 'syndicate-to': syndications + '<?= $this->user->micropub_syndicate_field ?>': syndications }, function(data){ var response = JSON.parse(data); |