From 4b45a2a78c3bc99df07523654bac9ee992af2fff Mon Sep 17 00:00:00 2001 From: Lucas Marcouiller <45882981+Hystepik@users.noreply.github.com> Date: Fri, 15 Nov 2024 23:08:20 +0100 Subject: [PATCH] fix php warning modCaptchaStandard class (#31906) Co-authored-by: Hystepik --- .../core/modules/security/captcha/modCaptchaStandard.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/security/captcha/modCaptchaStandard.class.php b/htdocs/core/modules/security/captcha/modCaptchaStandard.class.php index 6b22ec7c1da..0efb00838b0 100644 --- a/htdocs/core/modules/security/captcha/modCaptchaStandard.class.php +++ b/htdocs/core/modules/security/captcha/modCaptchaStandard.class.php @@ -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;