From b6ca4495ff00988307e914436ba68e769a871291 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 25 Mar 2008 00:50:14 +0000 Subject: [PATCH] Actually, let's be a little pickier here. --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1