X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiBase.php;h=c53fd2f1664c3a4d010afa7a52f9de2a04ee5ae3;hb=c95f4a05ad9e8e7520eafad308866862e508b97f;hp=211a093b568d241f99b048002e2eafd901e101a2;hpb=0ccf248381393713267bc33037287aef4b912cad;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 211a093b56..c53fd2f166 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -662,7 +662,7 @@ abstract class ApiBase { switch ( $type ) { case 'NULL': // nothing to do break; - case 'string': // nothing to do + case 'string': if ( $value === '' ) { $this->dieUsageMsg( array( 'missingparam', $paramName ) ); }