From: Brion Vibber Date: Wed, 13 Jun 2007 16:13:05 +0000 (+0000) Subject: Don't barf out two preference forms when illegal raw sig is entered X-Git-Tag: 1.31.0-rc.0~52562 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=3f9bb3a07f9afe9575afbbea7813eac82c50a687;p=lhc%2Fweb%2Fwiklou.git Don't barf out two preference forms when illegal raw sig is entered --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index b4ae86dd7c..292ebce387 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -246,6 +246,7 @@ class PreferencesForm { $this->mNick = $wgParser->cleanSig( $this->mNick ); } else { $this->mainPrefsForm( 'error', wfMsg( 'badsig' ) ); + return; } } else { // When no fancy sig used, make sure ~{3,5} get removed.