From eb98fde3c905d4cebf4aedb10c9498dc01ee1496 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sat, 24 Mar 2007 02:10:49 +0000 Subject: [PATCH] Fix accidental mention of $oTest that should have been $this --- include/testData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/testData.php b/include/testData.php index e232081..1c9147f 100644 --- a/include/testData.php +++ b/include/testData.php @@ -64,7 +64,7 @@ class testData{ function create() { // Security, if we are not an administrator or a maintainer the test result must be queued. - $oVersion = new Version($oTest->iVersionId); + $oVersion = new Version($this->iVersionId); if(!$_SESSION['current']->hasPriv("admin") && !$_SESSION['current']->hasAppVersionModifyPermission($oVersion)) $this->sQueued = 'true';