X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialChangeEmail.php;h=d02886f5008060e3973e794cb4d21e9350d687e2;hb=8f806d211f218d785c728c76aa12ec22352bd520;hp=aab839fdfd28c8676783090c2a13b510ad7a3fe4;hpb=2066d149ceceb9049c24c645ddd8945eeaec6e44;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialChangeEmail.php b/includes/specials/SpecialChangeEmail.php index aab839fdfd..d02886f500 100644 --- a/includes/specials/SpecialChangeEmail.php +++ b/includes/specials/SpecialChangeEmail.php @@ -75,7 +75,7 @@ class SpecialChangeEmail extends UnlistedSpecialPage { $user = $this->getUser(); $request = $this->getRequest(); - if ( !$request->wasPosted() && !$user->isLoggedIn() ) { + if ( !$user->isLoggedIn() ) { $this->error( 'changeemail-no-info' ); return;