summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/forum_post_delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/forum_post_delete.php b/src/forum_post_delete.php
index 068c041..f1fabde 100644
--- a/src/forum_post_delete.php
+++ b/src/forum_post_delete.php
@@ -1,7 +1,7 @@
<?php
try {
- remove_post($postId);
+ remove_post($post_id);
}
catch (Exception $e) {
trigger_error($e, E_USER_ERROR);