*sigh* I was looking at parser tests, but not notices in a site this time... Followup...
authorDaniel Friesen <dantman@users.mediawiki.org>
Tue, 4 Jan 2011 04:23:01 +0000 (04:23 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Tue, 4 Jan 2011 04:23:01 +0000 (04:23 +0000)
includes/parser/ParserOutput.php

index 0ad7845..ee596a8 100644 (file)
@@ -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]) ) {