From 77e28f5385933526290a0c40d61e18c204b17648 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 24 Mar 2011 21:21:15 +0000 Subject: [PATCH] Commiting simplest hack fix for strict errors Instantiating new instance of UtfNormal Will probably nee tidying up later, if we have some other instance we can normally use --- languages/Language.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages/Language.php b/languages/Language.php index a6ae98adf5..360c9b4a34 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2035,7 +2035,8 @@ class Language { */ function normalize( $s ) { global $wgAllUnicodeFixes; - $s = UtfNormal::cleanUp( $s ); + $u = new UtfNormal; + $s = $u->cleanUp( $s ); if ( $wgAllUnicodeFixes ) { $s = $this->transformUsingPairFile( 'normalize-ar.ser', $s ); $s = $this->transformUsingPairFile( 'normalize-ml.ser', $s ); -- 2.20.1