From: umherirrender Date: Fri, 26 Sep 2014 13:42:36 +0000 (+0200) Subject: Avoid implicit Message::toString in InfoAction X-Git-Tag: 1.31.0-rc.0~13509 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=8410b26b37933c98a7db90f10c6485cd462af72c;p=lhc%2Fweb%2Fwiklou.git Avoid implicit Message::toString in InfoAction Call explicit escape to show which message format is used. Change-Id: I725f7ab394c275ad68a0b816b841c9b6b8bc325c --- diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index 12e845b423..e7455f6e95 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -290,7 +290,7 @@ class InfoAction extends FormlessAction { $pageInfo['header-basic'][] = array( $langDisp, Language::fetchLanguageName( $pageLang, $lang->getCode() ) - . ' ' . $this->msg( 'parentheses', $pageLang ) ); + . ' ' . $this->msg( 'parentheses', $pageLang )->escaped() ); // Content model of the page $pageInfo['header-basic'][] = array(