diff --git a/include/downloadurl.php b/include/downloadurl.php index 8bab015..8bb4b9a 100644 --- a/include/downloadurl.php +++ b/include/downloadurl.php @@ -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); diff --git a/include/version_queue.php b/include/version_queue.php index 389f54c..2a5b832 100644 --- a/include/version_queue.php +++ b/include/version_queue.php @@ -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);