From 63d90984a18d9d2ddba315d68568687918a1d3b9 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sat, 24 Jun 2006 05:02:56 +0000 Subject: [PATCH] Fix a warning due to missing first parameter when testData::OutputEditor() is called from adminTestResults.php. At this point we never expect to have a $sDistribution so we can just default the parameter to a null string --- include/testResults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/testResults.php b/include/testResults.php index 4550c8c..dc1bfd2 100644 --- a/include/testResults.php +++ b/include/testResults.php @@ -446,7 +446,7 @@ class testData{ } // show the fields for editing - function OutputEditor($sDistribution, $bNewDist=false) + function OutputEditor($sDistribution="", $bNewDist=false) { HtmlAreaLoaderScript(array("Test1", "Test2", "Test3"));