We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360dcd5 commit c9a901fCopy full SHA for c9a901f
app/code/core/Mage/Captcha/Model/Observer.php
@@ -274,7 +274,7 @@ protected function _resetAttempt($login)
274
protected function _getCaptchaString($request, $formId)
275
{
276
$captchaParams = $request->getPost(Mage_Captcha_Helper_Data::INPUT_NAME_FIELD_VALUE);
277
- return $captchaParams[$formId];
+ return $captchaParams[$formId] ?? '';
278
}
279
280
/**
0 commit comments