mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
post.php: fix captcha call typo
This commit is contained in:
parent
d6677bb90c
commit
8f58172c5c
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