1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Fix post.php

I believe that you ended up closing some functions by mistake and then gave the following error when making a post:

PHP message: PHP Parse error:  syntax error, unexpected '}', expecting end of file in /var/www/vichan/html/post.php on line 462
This commit is contained in:
27chan 2021-03-17 21:22:40 -03:00 committed by Fredrick Brennan
parent 5a027781cc
commit 61d6132bb3

View File

@ -415,8 +415,6 @@ if (isset($_POST['delete'])) {
'<script>if (actually_load_captcha !== undefined) actually_load_captcha("'.$config['captcha']['provider_get'].'", "'.$config['captcha']['extra'].'");</script>');
}
}
}
}
}
if (!(($post['op'] && $_POST['post'] == $config['button_newtopic']) ||
@ -1222,9 +1220,9 @@ if (isset($_POST['delete'])) {
'id' => $id
));
}
skip_redirect:
if ($config['try_smarter'] && $post['op'])
$build_pages = range(1, $config['max_pages']);