E_STRICT: Use $wgParser as we have it around instead of calling statically
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 28 Nov 2007 14:26:30 +0000 (14:26 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 28 Nov 2007 14:26:30 +0000 (14:26 +0000)
includes/SpecialPreferences.php

index 61270c5..b8f1385 100644 (file)
@@ -250,7 +250,7 @@ class PreferencesForm {
                                wfMsg( 'badsiglength', $wgLang->formatNum( $wgMaxSigChars ) ) );
                        return;
                } elseif( $this->mToggles['fancysig'] ) {
-                       if( Parser::validateSig( $this->mNick ) !== false ) {
+                       if( $wgParser->validateSig( $this->mNick ) !== false ) {
                                $this->mNick = $wgParser->cleanSig( $this->mNick );
                        } else {
                                $this->mainPrefsForm( 'error', wfMsg( 'badsig' ) );