Correct a few undefined variable errors brought out by the unit tests
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user