From: John Du Hart Date: Tue, 3 Jan 2012 11:05:55 +0000 (+0000) Subject: Missing check for ISMULTI on help parameters, thanks santhosh X-Git-Tag: 1.31.0-rc.0~25597 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=f423134ac72b8e25b4f986594e15937b888ec502;p=lhc%2Fweb%2Fwiklou.git Missing check for ISMULTI on help parameters, thanks santhosh --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 42a5238283..d339578ee1 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -385,7 +385,7 @@ abstract class ApiBase extends ContextSource { $type = isset( $paramSettings[self::PARAM_TYPE] ) ? $paramSettings[self::PARAM_TYPE] : null; if ( isset( $type ) ) { - if ( isset( $paramSettings[self::PARAM_ISMULTI] ) ) { + if ( isset( $paramSettings[self::PARAM_ISMULTI] ) && $paramSettings[self::PARAM_ISMULTI] ) { $prompt = 'Values (separate with \'|\'): '; } else { $prompt = 'One value: ';