Make the case of 'Version' match the case used in the constructor
This commit is contained in:
@@ -116,7 +116,7 @@ echo "<div align=center><table><tr>\n";
|
|||||||
while ($oRow = mysql_fetch_object($Ids))
|
while ($oRow = mysql_fetch_object($Ids))
|
||||||
{
|
{
|
||||||
// display thumbnail
|
// display thumbnail
|
||||||
$oVersion = new version($oRow->versionId);
|
$oVersion = new Version($oRow->versionId);
|
||||||
$oApp = new Application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$oScreenshot = new Screenshot($oRow->id);
|
$oScreenshot = new Screenshot($oRow->id);
|
||||||
$img = $oScreenshot->get_thumbnail_img();
|
$img = $oScreenshot->get_thumbnail_img();
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ else
|
|||||||
foreach($oDistribution->aTestingIds as $iTestingId)
|
foreach($oDistribution->aTestingIds as $iTestingId)
|
||||||
{
|
{
|
||||||
$oTest = new testData($iTestingId);
|
$oTest = new testData($iTestingId);
|
||||||
$oVersion = new version($oTest->iVersionId);
|
$oVersion = new Version($oTest->iVersionId);
|
||||||
$oApp = new Application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$oSubmitter = new User($oTest->iSubmitterId);
|
$oSubmitter = new User($oTest->iSubmitterId);
|
||||||
$bgcolor = $oTest->sTestedRating;
|
$bgcolor = $oTest->sTestedRating;
|
||||||
|
|||||||
@@ -404,7 +404,7 @@ class testData{
|
|||||||
while($oRow = mysql_fetch_object($hResult))
|
while($oRow = mysql_fetch_object($hResult))
|
||||||
{
|
{
|
||||||
$oTest = new testData($oRow->testingId);
|
$oTest = new testData($oRow->testingId);
|
||||||
$oVersion = new version($oTest->iVersionId);
|
$oVersion = new Version($oTest->iVersionId);
|
||||||
$oApp = new Application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
$oSubmitter = new User($oTest->iSubmitterId);
|
$oSubmitter = new User($oTest->iSubmitterId);
|
||||||
$oDistribution = new distribution($oTest->iDistributionId);
|
$oDistribution = new distribution($oTest->iDistributionId);
|
||||||
@@ -643,7 +643,7 @@ class testData{
|
|||||||
while($oRow = mysql_fetch_object($hResult))
|
while($oRow = mysql_fetch_object($hResult))
|
||||||
{
|
{
|
||||||
$oTest = new testData($oRow->testingId);
|
$oTest = new testData($oRow->testingId);
|
||||||
$oVersion = new version($oTest->iVersionId);
|
$oVersion = new Version($oTest->iVersionId);
|
||||||
// dont show testing results of versions that are still queued.
|
// dont show testing results of versions that are still queued.
|
||||||
if ($oVersion->sQueued == 'false')
|
if ($oVersion->sQueued == 'false')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -85,11 +85,11 @@ if ($aClean['sSub'])
|
|||||||
{
|
{
|
||||||
util_show_error_page_and_exit("Insufficient privileges.");
|
util_show_error_page_and_exit("Insufficient privileges.");
|
||||||
} else
|
} else
|
||||||
$oVersion = new version($oTest->iVersionId);
|
$oVersion = new Version($oTest->iVersionId);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
$oTest->iVersionId = $aClean['iVersionId'];
|
$oTest->iVersionId = $aClean['iVersionId'];
|
||||||
$oVersion = new version($aClean['iVersionId']);
|
$oVersion = new Version($aClean['iVersionId']);
|
||||||
$oTest->sQueued = "new";
|
$oTest->sQueued = "new";
|
||||||
}
|
}
|
||||||
if ($aClean['sSub'] == 'view')
|
if ($aClean['sSub'] == 'view')
|
||||||
|
|||||||
Reference in New Issue
Block a user