1
0
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:
Lorenzo Yario 2024-03-30 22:14:58 -07:00 committed by GitHub
commit afe7c73195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1209,8 +1209,6 @@ if (isset($_POST['delete'])) {
}
$post = (array)$post;
if ($post['files'])
$post['files'] = $post['files'];
$post['num_files'] = sizeof($post['files']);
$post['id'] = $id = post($post);