- makes it possible to submit new versions again

- show the add version button when logged in
This commit is contained in:
Jonathan Ernst
2005-02-09 02:19:24 +00:00
committed by WineHQ
parent e7db4f1cac
commit 5e7cceeb4a
2 changed files with 7 additions and 4 deletions

View File

@@ -33,10 +33,10 @@ function checkInput($fields)
$errors .= "<li>Please enter an application version.</li>\n";
// No vendor entered, and nothing in the list is selected
if (empty($fields['vendorName']) && !$fields['vendorId'])
if (empty($fields['vendorName']) && !$fields['vendorId'] && !$fields['appId'])
$errors .= "<li>Please enter a vendor.</li>\n";
if (empty($fields['appDescription']))
if (empty($fields['appDescription']) && !$fields['appId'])
$errors .= "<li>Please enter a description of your application.</li>\n";
if (empty($errors))