appdb/include testResults.php

WineHQ wineowner at wine.codeweavers.com
Sat Jun 24 00:02:56 CDT 2006


ChangeSet ID:	26012
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/06/24 00:02:56

Modified files:
	include        : testResults.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	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

Patch: http://cvs.winehq.org/patch.py?id=26012

Old revision  New revision  Changes     Path
 1.19          1.20          +1 -1       appdb/include/testResults.php

Index: appdb/include/testResults.php
diff -u -p appdb/include/testResults.php:1.19 appdb/include/testResults.php:1.20
--- appdb/include/testResults.php:1.19	24 Jun 2006  5: 2:56 -0000
+++ appdb/include/testResults.php	24 Jun 2006  5: 2:56 -0000
@@ -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"));
 



More information about the wine-cvs mailing list