From: Siebrand Mazeland Date: Mon, 20 Aug 2012 16:41:58 +0000 (+0200) Subject: Address escaping issue in I0eef0c5a. Use parse(). X-Git-Tag: 1.31.0-rc.0~22668 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=82b5b791d30fd51b98de71bd08da56e383ce78fa;p=lhc%2Fweb%2Fwiklou.git Address escaping issue in I0eef0c5a. Use parse(). Change-Id: I7a52d9b1a76c44ed901eb45369eaa4404b837655 --- diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index 07f76d2a6a..a249a77772 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -179,14 +179,14 @@ class InfoAction extends FormlessAction { $message = $this->msg( "protect-level-$protectionLevel" ); if ( $message->isDisabled() ) { // Require "$1" permission - $message = $this->msg( "protect-fallback", $protectionLevel )->escaped(); + $message = $this->msg( "protect-fallback", $protectionLevel )->parse(); } else { $message = $message->escaped(); } } $table = $this->addRow( $table, - $this->msg( 'pageinfo-restriction', $restrictionType )->escaped(), $message + $this->msg( 'pageinfo-restriction', $restrictionType )->parse(), $message ); }