hasPriv("admin") && !$_SESSION['current']->isMaintainer($aClean['versionId']) && !$_SESSION['current']->isSuperMaintainer($aClean['appId'])) { errorpage("Insufficient Privileges!"); exit; } /* process the changes the user entered into the web form */ if(!empty($aClean['submit'])) { process_app_version_changes(true); redirect(apidb_fullurl("appview.php?versionId=".$aClean['versionId'])); } else /* or display the webform for making changes */ { $oVersion = new Version($aClean['versionId']); apidb_header("Edit Application Version"); echo "