mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
Merge pull request #699 from Zankaria/remove-no-op
Remove no-op lines from post.php
This commit is contained in:
commit
afe7c73195
2
post.php
2
post.php
@ -1209,8 +1209,6 @@ if (isset($_POST['delete'])) {
|
|||||||
}
|
}
|
||||||
$post = (array)$post;
|
$post = (array)$post;
|
||||||
|
|
||||||
if ($post['files'])
|
|
||||||
$post['files'] = $post['files'];
|
|
||||||
$post['num_files'] = sizeof($post['files']);
|
$post['num_files'] = sizeof($post['files']);
|
||||||
|
|
||||||
$post['id'] = $id = post($post);
|
$post['id'] = $id = post($post);
|
||||||
|
Loading…
Reference in New Issue
Block a user