appdb/include version.php

WineHQ wineowner at wine.codeweavers.com
Tue Jun 20 17:58:58 CDT 2006


ChangeSet ID:	25914
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/06/20 17:58:58

Modified files:
	include        : version.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Fix case of $aClean['appId']. Fixes the bug of orphaning newly submitted versions

Patch: http://cvs.winehq.org/patch.py?id=25914

Old revision  New revision  Changes     Path
 1.53          1.54          +1 -2       appdb/include/version.php

Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.53 appdb/include/version.php:1.54
--- appdb/include/version.php:1.53	20 Jun 2006 22:58:58 -0000
+++ appdb/include/version.php	20 Jun 2006 22:58:58 -0000
@@ -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'];
         }



More information about the wine-cvs mailing list