appdb/include testResults.php

WineHQ wineowner at wine.codeweavers.com
Fri Jun 23 21:38:44 CDT 2006


ChangeSet ID:	26007
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/06/23 21:38:44

Modified files:
	include        : testResults.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Fix entering a new distribution when submitting a new application or version

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

Old revision  New revision  Changes     Path
 1.17          1.18          +1 -1       appdb/include/testResults.php

Index: appdb/include/testResults.php
diff -u -p appdb/include/testResults.php:1.17 appdb/include/testResults.php:1.18
--- appdb/include/testResults.php:1.17	24 Jun 2006  2:38:44 -0000
+++ appdb/include/testResults.php	24 Jun 2006  2:38:44 -0000
@@ -542,7 +542,7 @@ class testData{
             $errors .= "<li>Please enter the version of Wine that you tested with.</li>\n";
 
         // No Distribution entered, and nothing in the list is selected
-        if (empty($sDistribution) && !$aClean['iDistributionId'])
+        if (empty($aClean['sDistribution']) && !$aClean['iDistributionId'])
             $errors .= "<li>Please enter a distribution.</li>\n";
 
         if (empty($aClean['sInstalls']))



More information about the wine-cvs mailing list