diff --git a/src/webui/explore.php b/src/webui/explore.php index 51e62fc..88071e6 100644 --- a/src/webui/explore.php +++ b/src/webui/explore.php @@ -216,8 +216,11 @@ if ($config->webui->index->enabled) } $captcha = new \Gregwar\Captcha\CaptchaBuilder( - $config->webui->captcha->length, - $config->webui->captcha->phrase + null, + new PhraseBuilder( + $config->webui->captcha->length, + $config->webui->captcha->phrase + ) ); $captcha->setBackgroundColor(