Don't let the user change the parent application when a new version is being submitted, they got to the submit version screen through an application parent, we should stick with that

This commit is contained in:
Chris Morgan
2005-10-14 00:31:42 +00:00
committed by WineHQ
parent 485f935660
commit eb732e31f2

View File

@@ -142,12 +142,10 @@ if (isset($_REQUEST['apptype']))
if($_REQUEST['apptype'] == 1) if($_REQUEST['apptype'] == 1)
{ {
$oApp->OutputEditor($_REQUEST['appVendorName']); $oApp->OutputEditor($_REQUEST['appVendorName']);
$oVersion->OutputEditor(false);
} else
{
$oVersion->OutputEditor(true);
} }
$oVersion->OutputEditor(false); /* don't let the user change the parent application */
echo '<input type="hidden" name="apptype" value="'.$_REQUEST['apptype'].'">',"\n"; echo '<input type="hidden" name="apptype" value="'.$_REQUEST['apptype'].'">',"\n";
// new application and version // new application and version