r79559 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79558‎ | r79559 | r79560 >
Date:04:23, 4 January 2011
Author:dantman
Status:ok
Tags:
Comment:
*sigh* I was looking at parser tests, but not notices in a site this time... Followup r79558 fix a small php notice.
Modified paths:
  • /trunk/phase3/includes/parser/ParserOutput.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserOutput.php
@@ -151,7 +151,7 @@
152152 $args = array(
153153 htmlspecialchars_decode($m[1]),
154154 htmlspecialchars_decode($m[2]),
155 - $m[4] ? $m[3] : null,
 155+ isset($m[4]) ? $m[3] : null,
156156 );
157157 $args[0] = Title::newFromText( $args[0] );
158158 if ( !is_object($args[0]) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79558Followup r79520 and r79528, one of the args was missing when calling doEditSe...dantman04:20, 4 January 2011

Status & tagging log