Fix accidental mention of $oTest that should have been $this

This commit is contained in:
Chris Morgan
2007-03-24 02:10:49 +00:00
committed by WineHQ
parent 7d6772b5b1
commit eb98fde3c9

View File

@@ -64,7 +64,7 @@ class testData{
function create() function create()
{ {
// Security, if we are not an administrator or a maintainer the test result must be queued. // 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") && if(!$_SESSION['current']->hasPriv("admin") &&
!$_SESSION['current']->hasAppVersionModifyPermission($oVersion)) !$_SESSION['current']->hasAppVersionModifyPermission($oVersion))
$this->sQueued = 'true'; $this->sQueued = 'true';