summaryrefslogtreecommitdiff
path: root/views/new-post.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/new-post.php')
-rw-r--r--views/new-post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/new-post.php b/views/new-post.php
index 3418272..6ce8095 100644
--- a/views/new-post.php
+++ b/views/new-post.php
@@ -419,7 +419,7 @@ $(function(){
}
}
if(v=$("#note_slug").val()) {
- formData.append("slug", v);
+ formData.append("<?= $this->user->micropub_slug_field ?>", v);
}
// Add either the photo as a file, or the photo URL depending on whether the user has a media endpoint