From aa9adb0e1547bd60bf43ae7a752abba972a2080b Mon Sep 17 00:00:00 2001 From: Carotte <65663837+web-cooking-factory@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:16:47 +0100 Subject: [PATCH] fix: remove call to l() function in module name Causes error in /classes/Translate.php - substr(): Passing null to parameter #1 ($string) of type string is deprecated --- crisp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crisp.php b/crisp.php index 5d60bb0..e050225 100644 --- a/crisp.php +++ b/crisp.php @@ -36,7 +36,7 @@ class Crisp extends Module public function __construct() { - $this->name = $this->l('crisp'); + $this->name = 'crisp'; $this->displayName = $this->l('Crisp - Live chat & AI Chatbot'); $this->author = 'Crisp IM'; $this->version = '1.1.1';