appdb/include downloadurl.php version_queue.php

WineHQ wineowner at wine.codeweavers.com
Fri Apr 20 20:17:38 CDT 2007


ChangeSet ID:	31061
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/04/20 20:17:38

Modified files:
	include        : downloadurl.php version_queue.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Correct a few undefined variable errors brought out by the unit tests

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

Old revision  New revision  Changes     Path
 1.11          1.12          +1 -0       appdb/include/downloadurl.php
 1.2           1.3           +2 -1       appdb/include/version_queue.php

Index: appdb/include/downloadurl.php
diff -u -p appdb/include/downloadurl.php:1.11 appdb/include/downloadurl.php:1.12
--- appdb/include/downloadurl.php:1.11	21 Apr 2007  1:17:38 -0000
+++ appdb/include/downloadurl.php	21 Apr 2007  1:17:38 -0000
@@ -301,6 +301,7 @@ class downloadurl
     /* Process a form made only for submitting one URL */
     function processFormSingle($iVersionId, $aValues, $bUnQueue = FALSE)
     {
+        $iId = null;
         if($hResult = appData::getData($iVersionId, "downloadurl", TRUE, TRUE))
         {
             $oObject = mysql_fetch_object($hResult);
Index: appdb/include/version_queue.php
diff -u -p appdb/include/version_queue.php:1.2 appdb/include/version_queue.php:1.3
--- appdb/include/version_queue.php:1.2	21 Apr 2007  1:17:38 -0000
+++ appdb/include/version_queue.php	21 Apr 2007  1:17:38 -0000
@@ -9,11 +9,12 @@ class version_queue
     function version_queue($iVersionId = null)
     {
         $this->oVersion = new version($iVersionId);
+        $iTestingId = null;
 
         if($iVersionId)
         {
             $iTestingId = testData::getNewestTestIdFromVersionId($iVersionId,
-                    $this->oVersion->sQueued);
+                                                                 $this->oVersion->sQueued);
         }
 
         $this->oTestDataQueue = new testData_queue($iTestingId);



More information about the wine-cvs mailing list