Fix accidental mention of $oTest that should have been $this
This commit is contained in:
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user