X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpassword%2FMWOldPassword.php;h=afa5cacc783f2cc51e550f10e680c3f39a1da6ed;hb=06c7063501cbcf201e31aae41d21dcf10af694db;hp=0ba407f2f0681fa019aace983d047a221039f8f7;hpb=95a8974c6bda2c6353612c40b01b9c78527b8956;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();