mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
Merge pull request #829 from Zankaria/patch-1
post.php: fix captcha call typo
This commit is contained in:
commit
62363f5727
2
post.php
2
post.php
@ -654,7 +654,7 @@ if (isset($_POST['delete'])) {
|
||||
}
|
||||
// Remote 3rd party captchas.
|
||||
elseif ($provider && (!$dynamic || $dynamic === $_SERVER['REMOTE_ADDR'])) {
|
||||
$query = $content->get(RemoteCaptchaQuery::class);
|
||||
$query = $context->get(RemoteCaptchaQuery::class);
|
||||
$field = $query->responseField();
|
||||
|
||||
if (!isset($_POST[$field])) {
|
||||
|
Loading…
Reference in New Issue
Block a user