Fix case of $aClean['appId']. Fixes the bug of orphaning newly submitted versions

This commit is contained in:
Chris Morgan
2006-06-20 22:58:58 +00:00
committed by WineHQ
parent 4b0f0473f7
commit ce71a0d8ed

View File

@@ -607,7 +607,7 @@ class Version {
function GetOutputEditorValues() function GetOutputEditorValues()
{ {
$aClean = array(); //array of filtered user input $aClean = array(); //array of filtered user input
$aClean['appid'] = makeSafe($_REQUEST['appId']); $aClean['appId'] = makeSafe($_REQUEST['appId']);
$aClean['versionId'] = makeSafe($_REQUEST['versionId']); $aClean['versionId'] = makeSafe($_REQUEST['versionId']);
$aClean['versionName'] = makeSafe($_REQUEST['versionName']); $aClean['versionName'] = makeSafe($_REQUEST['versionName']);
$aClean['versionDescription'] = makeSafe($_REQUEST['versionDescription']); $aClean['versionDescription'] = makeSafe($_REQUEST['versionDescription']);
@@ -628,7 +628,6 @@ class Version {
$this->iVersionId = $aClean['versionId']; $this->iVersionId = $aClean['versionId'];
$this->sName = $aClean['versionName']; $this->sName = $aClean['versionName'];
$this->sDescription = $aClean['versionDescription']; $this->sDescription = $aClean['versionDescription'];
$this->sTestedRating = $aClean['maintainer_rating']; $this->sTestedRating = $aClean['maintainer_rating'];
$this->sTestedRelease = $aClean['maintainer_release']; $this->sTestedRelease = $aClean['maintainer_release'];
} }