diff --git a/include/testData.php b/include/testData.php index b339227..512ef57 100644 --- a/include/testData.php +++ b/include/testData.php @@ -9,9 +9,9 @@ require_once(BASE."include/util.php"); class testData{ var $iTestingId; var $iVersionId; - var $sWhatWorks; - var $sWhatDoesnt; - var $sWhatNotTested; + var $shWhatWorks; + var $shWhatDoesnt; + var $shWhatNotTested; var $sTestedRelease; var $iDistributionId; var $sTestedDate; @@ -42,9 +42,9 @@ class testData{ { $this->iTestingId = $oRow->testingId; $this->iVersionId = $oRow->versionId; - $this->sWhatWorks = $oRow->whatWorks; - $this->sWhatDoesnt = $oRow->whatDoesnt; - $this->sWhatNotTested = $oRow->whatNotTested; + $this->shWhatWorks = $oRow->whatWorks; + $this->shWhatDoesnt = $oRow->whatDoesnt; + $this->shWhatNotTested = $oRow->whatNotTested; $this->sTestedDate = $oRow->testedDate; $this->iDistributionId = $oRow->distributionId; $this->sTestedRelease = $oRow->testedRelease; @@ -78,8 +78,8 @@ class testData{ "installs, runs, testedRating, comments, submitterId, queued)". " VALUES('?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?',". "'?', '?')", - $this->iVersionId, $this->sWhatWorks, $this->sWhatDoesnt, - $this->sWhatNotTested, $this->sTestedDate, $this->iDistributionId, + $this->iVersionId, $this->shWhatWorks, $this->shWhatDoesnt, + $this->shWhatNotTested, $this->sTestedDate, $this->iDistributionId, $this->sTestedRelease, $this->sInstalls, $this->sRuns, $this->sTestedRating, $this->sComments, $_SESSION['current']->iUserId, $this->sQueued); @@ -123,9 +123,9 @@ class testData{ comments = '?' WHERE testingId = '?'", $this->iVersionId, - $this->sWhatWorks, - $this->sWhatDoesnt, - $this->sWhatNotTested, + $this->shWhatWorks, + $this->shWhatDoesnt, + $this->shWhatNotTested, $this->sTestedDate, $this->iDistributionId, $this->sTestedRelease, @@ -357,11 +357,11 @@ class testData{ function ShowTestResult() { echo '

What works
',"\n"; - echo $this->sWhatWorks; + echo $this->shWhatWorks; echo '

What does not
',"\n"; - echo $this->sWhatDoesnt; + echo $this->shWhatDoesnt; echo '

What was not tested
',"\n"; - echo $this->sWhatNotTested; + echo $this->shWhatNotTested; echo '

Additional Comments
',"\n"; echo $this->sComments; } @@ -500,16 +500,16 @@ class testData{ // What works echo 'What works',"\n"; - echo '

',"\n"; + echo '

',"\n"; // What Does not work echo 'What does not work',"\n"; - echo '

',"\n"; + echo '

',"\n"; // What was not tested echo 'What was not tested',"\n"; - echo '

',"\n"; + echo '

',"\n"; // Date Tested echo 'Date tested ',"\n"; echo '',"\n"; @@ -557,13 +557,13 @@ class testData{ function CheckOutputEditorInput($aValues, $sDistribution="") { $errors = ""; - if (empty($aValues['sWhatWorks'])) + if (empty($aValues['shWhatWorks'])) $errors .= "
  • Please enter what worked.
  • \n"; - if (empty($aValues['sWhatDoesnt'])) + if (empty($aValues['shWhatDoesnt'])) $errors .= "
  • Please enter what did not work.
  • \n"; - if (empty($aValues['sWhatNotTested'])) + if (empty($aValues['shWhatNotTested'])) $errors .= "
  • Please enter what was not tested.
  • \n"; if (empty($aValues['sTestedDate'])) @@ -608,9 +608,9 @@ class testData{ { $this->iTestingId = $aValues['iTestingId']; $this->iVersionId = $aValues['iVersionId']; - $this->sWhatWorks = $aValues['sWhatWorks']; - $this->sWhatDoesnt = $aValues['sWhatDoesnt']; - $this->sWhatNotTested = $aValues['sWhatNotTested']; + $this->shWhatWorks = $aValues['shWhatWorks']; + $this->shWhatDoesnt = $aValues['shWhatDoesnt']; + $this->shWhatNotTested = $aValues['shWhatNotTested']; $this->sTestedDate = $aValues['sTestedDate']; $this->iDistributionId = $aValues['iDistributionId']; $this->sTestedRelease = $aValues['sTestedRelease'];