diff --git a/post.php b/post.php index 98aefe05..4ea08ce3 100644 --- a/post.php +++ b/post.php @@ -955,7 +955,7 @@ if (isset($_POST['delete'])) { $build_pages = range(1, $config['max_pages']); if ($post['op']) - clean($pid); + clean($id); event('post-after', $post);