From 5d24cc434cc388e9a6bb61f7870a0aad012c6016 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 19 Feb 2024 21:41:20 +0200 Subject: [PATCH] fix argument data type --- src/controller/room.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/room.php b/src/controller/room.php index fd4dba4..418cd30 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -602,7 +602,7 @@ class Room // Remove original mention from message $data['value'] = preg_replace( self::PARENT_REGEX, - null, + '', $this->_escape( $data['value'] ) @@ -878,7 +878,7 @@ class Room // Remove mention ID from quote $value = preg_replace( self::PARENT_REGEX, - null, + '', $this->_escape( $value )