X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpassword%2FMWOldPassword.php;h=afa5cacc783f2cc51e550f10e680c3f39a1da6ed;hb=6fb0b31d2f0ad35ad18d4675bcd3c6bef7552316;hp=0ba407f2f0681fa019aace983d047a221039f8f7;hpb=d9ec6b146bd6381cb28c733b6d20ca4683e77d46;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/password/MWOldPassword.php b/includes/password/MWOldPassword.php index 0ba407f2f0..afa5cacc78 100644 --- a/includes/password/MWOldPassword.php +++ b/includes/password/MWOldPassword.php @@ -38,7 +38,7 @@ class MWOldPassword extends ParameterizedPassword { public function crypt( $plaintext ) { global $wgPasswordSalt; - if ( $wgPasswordSalt && count( $this->args ) == 1 ) { + if ( $wgPasswordSalt && count( $this->args ) === 1 ) { $this->hash = md5( $this->args[0] . '-' . md5( $plaintext ) ); } else { $this->args = array();