mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
psot.php: remove no-op lines
This commit is contained in:
parent
0c3159673d
commit
27ddd5158d
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