From 5d0269506bafe16126a9aca83e31c48bee20c7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Wed, 12 Dec 2007 01:37:31 +0100 Subject: [PATCH] testData_queue: Fix references to renamed member --- include/testData_queue.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/testData_queue.php b/include/testData_queue.php index 9e492bc..4ef5ab6 100644 --- a/include/testData_queue.php +++ b/include/testData_queue.php @@ -49,7 +49,7 @@ class testData_queue $this->oTestData->unQueue(); /* Avoid a misguiding message about the distribution being unqueued */ - if($this->oDistribution->sQueued != "false") + if($this->oDistribution->sStatus != 'accepted') $this->oDistribution->unQueue(); } @@ -77,7 +77,7 @@ class testData_queue /* If we are processing queued test results with a queued distribution, we display some additional help here */ if($this->oDistribution->iDistributionId && - $this->oDistribution->sQueued != "false" && $this->canEdit()) + $this->oDistribution->sStatus != 'accepted' && $this->canEdit()) { echo "The user submitted a new distribution, which will be un-queued ". "together with the test data unless you select an existing one ". @@ -88,7 +88,7 @@ class testData_queue distribution is un-queued, there is no need to display the distribution form here */ if(!$this->oTestData->iDistributionId or - $this->oDistribution->sQueued != "false") + $this->oDistribution->sStatus != 'accepted') { echo html_frame_start("New Distribution", "90%"); $this->oDistribution->outputEditor();