Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -385,7 +385,7 @@ |
386 | 386 | |
387 | 387 | $type = isset( $paramSettings[self::PARAM_TYPE] ) ? $paramSettings[self::PARAM_TYPE] : null; |
388 | 388 | if ( isset( $type ) ) { |
389 | | - if ( isset( $paramSettings[self::PARAM_ISMULTI] ) ) { |
| 389 | + if ( isset( $paramSettings[self::PARAM_ISMULTI] ) && $paramSettings[self::PARAM_ISMULTI] ) { |
390 | 390 | $prompt = 'Values (separate with \'|\'): '; |
391 | 391 | } else { |
392 | 392 | $prompt = 'One value: '; |