From 9fb6633febcfd341ee0f394de945b9a1a67145b5 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 30 Jul 2008 19:55:44 +0000 Subject: [PATCH] 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 --- maintenance/parserTests.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 2cb85d2cc5..c270ffcc29 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -1085,6 +1085,8 @@ class DbTestPreviewer extends TestRecorder { 'ff' => 'still FAILING test(s) :(', ); + $prevResults = array(); + $res = $this->db->select( 'testitem', array( 'ti_name', 'ti_success' ), array( 'ti_run' => $this->prevRun ), __METHOD__ ); foreach ( $res as $row ) { -- 2.20.1