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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user