r38250 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38249‎ | r38250 | r38251 >
Date:19:55, 30 July 2008
Author:simetrical
Status:old
Tags:
Comment:
Fix fatal error trying to run parser tests:

Notice: Undefined variable: prevResults in /var/www/trunk/phase3/maintenance/parserTests.inc on line 1098
Fatal error: Unsupported operand types in /var/www/trunk/phase3/maintenance/parserTests.inc on line 1098
Modified paths:
  • /trunk/phase3/maintenance/parserTests.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.inc
@@ -1085,6 +1085,8 @@
10861086 'ff' => 'still FAILING test(s) :(',
10871087 );
10881088
 1089+ $prevResults = array();
 1090+
10891091 $res = $this->db->select( 'testitem', array( 'ti_name', 'ti_success' ),
10901092 array( 'ti_run' => $this->prevRun ), __METHOD__ );
10911093 foreach ( $res as $row ) {

Status & tagging log