X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCommentStoreComment.php;h=9f1681dff08a9c15d118116f928c3ddbff733798;hb=18b3c566fcdf61dad674c0010ce3beb4309d7a04;hp=af866cdce767d2cc00744f87cf6ce085a0b5504a;hpb=b79bc0a2740b991525aae355ed216e0b9dc3aa86;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/CommentStoreComment.php b/includes/CommentStoreComment.php index af866cdce7..9f1681dff0 100644 --- a/includes/CommentStoreComment.php +++ b/includes/CommentStoreComment.php @@ -50,7 +50,7 @@ class CommentStoreComment { public function __construct( $id, $text, Message $message = null, array $data = null ) { $this->id = $id; $this->text = $text; - $this->message = $message ?: new RawMessage( '$1', [ $text ] ); + $this->message = $message ?: new RawMessage( '$1', [ Message::plaintextParam( $text ) ] ); $this->data = $data; }