summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-05-08 03:09:20 +0200
committerczaks <marcin@6irc.net>2016-05-08 03:09:20 +0200
commit644f227ab33f247dc82e0208fe2125d5d002f4f4 (patch)
tree2b3d58ec6b3595b15533c447bfb1c808891ecde8 /post.php
parenta5e22f6d637365042c53f5e9552e8e8444549d6f (diff)
fix "Undefined variable: pid"; thanks fpdl and MrFreeman
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
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);