From ce71a0d8ed7ca196e3395ea6bb76d5966186a305 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 20 Jun 2006 22:58:58 +0000 Subject: [PATCH] Fix case of $aClean['appId']. Fixes the bug of orphaning newly submitted versions --- include/version.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/version.php b/include/version.php index 1bf37ef..11242ff 100644 --- a/include/version.php +++ b/include/version.php @@ -607,7 +607,7 @@ class Version { function GetOutputEditorValues() { $aClean = array(); //array of filtered user input - $aClean['appid'] = makeSafe($_REQUEST['appId']); + $aClean['appId'] = makeSafe($_REQUEST['appId']); $aClean['versionId'] = makeSafe($_REQUEST['versionId']); $aClean['versionName'] = makeSafe($_REQUEST['versionName']); $aClean['versionDescription'] = makeSafe($_REQUEST['versionDescription']); @@ -628,7 +628,6 @@ class Version { $this->iVersionId = $aClean['versionId']; $this->sName = $aClean['versionName']; $this->sDescription = $aClean['versionDescription']; - $this->sTestedRating = $aClean['maintainer_rating']; $this->sTestedRelease = $aClean['maintainer_release']; }