ChangeSet ID: 30992
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/03/23 21:10:49
Modified files:
include : testData.php
Log message:
Chris Morgan <cmorgan(a)alum.wpi.edu>
Fix accidental mention of $oTest that should have been $this
Patch: http://cvs.winehq.org/patch.py?id=30992
Old revision New revision Changes Path
1.24 1.25 +1 -1 appdb/include/testData.php
Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.24 appdb/include/testData.php:1.25
--- appdb/include/testData.php:1.24 24 Mar 2007 2:10:49 -0000
+++ appdb/include/testData.php 24 Mar 2007 2:10:49 -0000
@@ -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';