From c95f4a05ad9e8e7520eafad308866862e508b97f Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 5 Aug 2010 06:02:57 +0000 Subject: [PATCH] Followup r70480, per Nikerabbits comment, there '''is''' something to do --- includes/api/ApiBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } -- 2.20.1