X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=83d2ae9bea6088fc5fa7b7261e3dae3310dd310f;hp=cb3c2f6da78d65d19f80add081dfff56168c4d73;hb=9f3bc1fe5978c24230d0b6a92a83560f9d638a18;hpb=17d001b73a3bd291e0f77794fa60fa5495609d68 diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index cb3c2f6da7..83d2ae9bea 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1081,10 +1081,10 @@ abstract class ApiBase extends ContextSource { } else { $type = 'NULL'; // allow everything } + } - if ( $type == 'password' || !empty( $paramSettings[self::PARAM_SENSITIVE] ) ) { - $this->getMain()->markParamsSensitive( $encParamName ); - } + if ( $type == 'password' || !empty( $paramSettings[self::PARAM_SENSITIVE] ) ) { + $this->getMain()->markParamsSensitive( $encParamName ); } if ( $type == 'boolean' ) {