forked from leftypol/leftypol
fix "Undefined variable: pid"; thanks fpdl and MrFreeman
This commit is contained in:
parent
a5e22f6d63
commit
644f227ab3
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -955,7 +955,7 @@ if (isset($_POST['delete'])) {
|
||||||
$build_pages = range(1, $config['max_pages']);
|
$build_pages = range(1, $config['max_pages']);
|
||||||
|
|
||||||
if ($post['op'])
|
if ($post['op'])
|
||||||
clean($pid);
|
clean($id);
|
||||||
|
|
||||||
event('post-after', $post);
|
event('post-after', $post);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue