appdb/include testResults.php
WineHQ
wineowner at wine.codeweavers.com
Mon Jul 3 21:52:39 CDT 2006
ChangeSet ID: 26191
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2006/07/03 21:52:39
Modified files:
include : testResults.php
Log message:
Tony Lambregts <tony.lambregts at gmail.com>
Pass a version object to hasAppVersionModifyPermission(), not a version id integer
Patch: http://cvs.winehq.org/patch.py?id=26191
Old revision New revision Changes Path
1.26 1.27 +1 -1 appdb/include/testResults.php
Index: appdb/include/testResults.php
diff -u -p appdb/include/testResults.php:1.26 appdb/include/testResults.php:1.27
--- appdb/include/testResults.php:1.26 4 Jul 2006 2:52:39 -0000
+++ appdb/include/testResults.php 4 Jul 2006 2:52:39 -0000
@@ -452,7 +452,7 @@ class testData{
echo ' <td>'.$oTest->sRuns.' </td>',"\n";
echo ' <td>'.$oTest->sTestedRating.' </td>',"\n";
echo ' <td>'.$sStatus.' </td>',"\n";
- if ($_SESSION['current']->hasAppVersionModifyPermission($oTest->iVersionId))
+ if ($_SESSION['current']->hasAppVersionModifyPermission($oVersion))
{
echo '<td><a href="'.BASE.'admin/adminTestResults.php?sub=view&iTestingId='.$oTest->iTestingId.'">',"\n";
echo 'Edit</a></td>',"\n";
More information about the wine-cvs
mailing list