From 644f227ab33f247dc82e0208fe2125d5d002f4f4 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 8 May 2016 03:09:20 +0200 Subject: [PATCH] fix "Undefined variable: pid"; thanks fpdl and MrFreeman --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);