Move hidden fields used by application and version class into their OutputEditor() member functions. Fix broken old style calls to application and version update() functions that were passing parameters in. Fix broken application::CheckOutputEditorInput()
This commit is contained in:
@@ -144,7 +144,8 @@ if (isset($_REQUEST['apptype']))
|
||||
$oApp->OutputEditor($_REQUEST['appVendorName']);
|
||||
}
|
||||
|
||||
$oVersion->OutputEditor(false); /* don't let the user change the parent application */
|
||||
$oVersion->OutputEditor(false, false); /* don't let the user change the parent application,
|
||||
don't display the rating and distribution dropdowns */
|
||||
|
||||
echo '<input type="hidden" name="apptype" value="'.$_REQUEST['apptype'].'">',"\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user