Followup r70480, per Nikerabbits comment, there '''is''' something to do
authorSam Reed <reedy@users.mediawiki.org>
Thu, 5 Aug 2010 06:02:57 +0000 (06:02 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 5 Aug 2010 06:02:57 +0000 (06:02 +0000)
includes/api/ApiBase.php

index 211a093..c53fd2f 100644 (file)
@@ -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 ) );
                                                }