From: Aryeh Gregor Date: Tue, 25 Mar 2008 00:50:14 +0000 (+0000) Subject: Actually, let's be a little pickier here. X-Git-Tag: 1.31.0-rc.0~48834 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=b6ca4495ff00988307e914436ba68e769a871291;p=lhc%2Fweb%2Fwiklou.git Actually, let's be a little pickier here. --- diff --git a/includes/Parser.php b/includes/Parser.php index 50324b9ddf..bbe1fedc7b 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4418,7 +4418,7 @@ class Parser list( $magicName, $value ) = $mwArray->matchVariableStartToEnd( $part ); # (bug 13436) If $value is non-numeric, assume it's a caption if( isset( $paramMap[$magicName] ) && - ( !$value || is_numeric($value) ) ) { + ( $value === false || is_numeric($value) ) ) { list( $type, $paramName ) = $paramMap[$magicName]; $params[$type][$paramName] = $value;