Browse Source

fix argument data type

main
ghost 9 months ago
parent
commit
5d24cc434c
  1. 4
      src/controller/room.php

4
src/controller/room.php

@ -602,7 +602,7 @@ class Room
// Remove original mention from message // Remove original mention from message
$data['value'] = preg_replace( $data['value'] = preg_replace(
self::PARENT_REGEX, self::PARENT_REGEX,
null, '',
$this->_escape( $this->_escape(
$data['value'] $data['value']
) )
@ -878,7 +878,7 @@ class Room
// Remove mention ID from quote // Remove mention ID from quote
$value = preg_replace( $value = preg_replace(
self::PARENT_REGEX, self::PARENT_REGEX,
null, '',
$this->_escape( $this->_escape(
$value $value
) )

Loading…
Cancel
Save