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))
|
||||
{
|
||||
// display thumbnail
|
||||
$oVersion = new version($oRow->versionId);
|
||||
$oVersion = new Version($oRow->versionId);
|
||||
$oApp = new Application($oVersion->iAppId);
|
||||
$oScreenshot = new Screenshot($oRow->id);
|
||||
$img = $oScreenshot->get_thumbnail_img();
|
||||
|
||||
@@ -112,7 +112,7 @@ else
|
||||
foreach($oDistribution->aTestingIds as $iTestingId)
|
||||
{
|
||||
$oTest = new testData($iTestingId);
|
||||
$oVersion = new version($oTest->iVersionId);
|
||||
$oVersion = new Version($oTest->iVersionId);
|
||||
$oApp = new Application($oVersion->iAppId);
|
||||
$oSubmitter = new User($oTest->iSubmitterId);
|
||||
$bgcolor = $oTest->sTestedRating;
|
||||
|
||||
@@ -404,7 +404,7 @@ class testData{
|
||||
while($oRow = mysql_fetch_object($hResult))
|
||||
{
|
||||
$oTest = new testData($oRow->testingId);
|
||||
$oVersion = new version($oTest->iVersionId);
|
||||
$oVersion = new Version($oTest->iVersionId);
|
||||
$oApp = new Application($oVersion->iAppId);
|
||||
$oSubmitter = new User($oTest->iSubmitterId);
|
||||
$oDistribution = new distribution($oTest->iDistributionId);
|
||||
@@ -643,7 +643,7 @@ class testData{
|
||||
while($oRow = mysql_fetch_object($hResult))
|
||||
{
|
||||
$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.
|
||||
if ($oVersion->sQueued == 'false')
|
||||
{
|
||||
|
||||
@@ -85,11 +85,11 @@ if ($aClean['sSub'])
|
||||
{
|
||||
util_show_error_page_and_exit("Insufficient privileges.");
|
||||
} else
|
||||
$oVersion = new version($oTest->iVersionId);
|
||||
$oVersion = new Version($oTest->iVersionId);
|
||||
} else
|
||||
{
|
||||
$oTest->iVersionId = $aClean['iVersionId'];
|
||||
$oVersion = new version($aClean['iVersionId']);
|
||||
$oVersion = new Version($aClean['iVersionId']);
|
||||
$oTest->sQueued = "new";
|
||||
}
|
||||
if ($aClean['sSub'] == 'view')
|
||||
|
||||
Reference in New Issue
Block a user