fix php warning modCaptchaStandard class (#31906)

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
This commit is contained in:
Lucas Marcouiller 2024-11-15 23:08:20 +01:00 committed by GitHub
parent 62ba788c8f
commit 4b45a2a78c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ class modCaptchaStandard extends ModeleCaptcha
*/
public function __construct($db, $conf, $langs, $user)
{
$this->id = strtolower(preg_replace('/^modCaptcha/i', '', get_class()));
$this->id = strtolower(preg_replace('/^modCaptcha/i', '', get_class($this)));
$this->db = $db;
$this->conf = $conf;