Correct a few undefined variable errors brought out by the unit tests

This commit is contained in:
Chris Morgan
2007-04-21 01:17:38 +00:00
committed by WineHQ
parent d5aabe4d17
commit 434de30b9c
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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);