summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index 2cbe5235..2449cf02 100644
--- a/post.php
+++ b/post.php
@@ -537,7 +537,7 @@ if (isset($_POST['delete'])) {
}
$post = (array)$post;
- $id = post($post);
+ $post['id'] = $id = post($post);
if (isset($post['antispam_hash'])) {
incrementSpamHash($post['antispam_hash']);