From: Daniel Friesen Date: Tue, 4 Jan 2011 04:23:01 +0000 (+0000) Subject: *sigh* I was looking at parser tests, but not notices in a site this time... Followup... X-Git-Tag: 1.31.0-rc.0~32833 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=beded1656300625e0842e17639a2762ba5fbb671;p=lhc%2Fweb%2Fwiklou.git *sigh* I was looking at parser tests, but not notices in a site this time... Followup r79558 fix a small php notice. --- 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]) ) {