* Set the $disabled variable if $wgEmailAuthentication && ($this->mUserEmail != '')
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 10 May 2005 21:57:02 +0000 (21:57 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 10 May 2005 21:57:02 +0000 (21:57 +0000)
  did not evaluate to true, otherwise the wiki would spew errors about undefined
  variables on E_ALL

includes/SpecialPreferences.php

index c6bd921..72b1692 100644 (file)
@@ -433,6 +433,7 @@ class PreferencesForm {
                        }
                } else {
                        $emailauthenticated = '';
+                       $disabled = false; // If it hasn't been set already the wiki will spew errors
                }
 
                if ($this->mUserEmail == '') {