From beded1656300625e0842e17639a2762ba5fbb671 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 4 Jan 2011 04:23:01 +0000 Subject: [PATCH] *sigh* I was looking at parser tests, but not notices in a site this time... Followup r79558 fix a small php notice. --- includes/parser/ParserOutput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 0ad7845202..ee596a8c36 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -151,7 +151,7 @@ class ParserOutput extends CacheTime { $args = array( htmlspecialchars_decode($m[1]), htmlspecialchars_decode($m[2]), - $m[4] ? $m[3] : null, + isset($m[4]) ? $m[3] : null, ); $args[0] = Title::newFromText( $args[0] ); if ( !is_object($args[0]) ) { -- 2.20.1