From d1c037e0aea09c5d0a280445f78061bdba9f52f4 Mon Sep 17 00:00:00 2001 From: EA Durbin Date: Thu, 31 Aug 2006 02:39:09 +0000 Subject: [PATCH] Make the case of 'Version' match the case used in the constructor --- admin/adminScreenshots.php | 2 +- distributionView.php | 2 +- include/testData.php | 4 ++-- testResults.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/adminScreenshots.php b/admin/adminScreenshots.php index 3e1f633..f509fc9 100644 --- a/admin/adminScreenshots.php +++ b/admin/adminScreenshots.php @@ -116,7 +116,7 @@ echo "
\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(); diff --git a/distributionView.php b/distributionView.php index 7623338..8e502af 100644 --- a/distributionView.php +++ b/distributionView.php @@ -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; diff --git a/include/testData.php b/include/testData.php index 49518cf..a9d3ec4 100644 --- a/include/testData.php +++ b/include/testData.php @@ -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') { diff --git a/testResults.php b/testResults.php index 35240da..3e32155 100644 --- a/testResults.php +++ b/testResults.php @@ -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')