From: umherirrender Date: Sat, 13 Dec 2014 11:08:45 +0000 (+0100) Subject: Make HTMLForm::formatErrors non-static to can parse message in context X-Git-Tag: 1.31.0-rc.0~12904^2 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=cbdc6e53feb5b3b455f4ace232f371bd1408baaf;p=lhc%2Fweb%2Fwiklou.git Make HTMLForm::formatErrors non-static to can parse message in context One call in core already called it non-static Avoid: [GlobalTitleFail] MessageCache::parse called by Message::toString/Message::parseText/MessageCache::parse with no title set Change-Id: Ic91e715177c0a4578825640a31ec68ecba3176e0 --- diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index df805aaa92..dc73522144 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1015,7 +1015,7 @@ class HTMLForm extends ContextSource { * * @return string HTML, a "