Fix entering a new distribution when submitting a new application or version

This commit is contained in:
Chris Morgan
2006-06-24 02:38:44 +00:00
committed by WineHQ
parent 3a3ff401cc
commit 3537fcbd88

View File

@@ -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']))