1
0
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:
Zankaria 2024-10-25 10:44:31 +02:00 committed by GitHub
parent d6677bb90c
commit 8f58172c5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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])) {