1
0
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:
Lorenzo Yario 2024-10-29 19:03:37 -07:00 committed by GitHub
commit 62363f5727
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])) {