diff --git a/include/testResults.php b/include/testResults.php index 390a274..b9e26df 100644 --- a/include/testResults.php +++ b/include/testResults.php @@ -452,7 +452,7 @@ class testData{ echo ' '.$oTest->sRuns.' ',"\n"; echo ' '.$oTest->sTestedRating.' ',"\n"; echo ' '.$sStatus.' ',"\n"; - if ($_SESSION['current']->hasAppVersionModifyPermission($oTest->iVersionId)) + if ($_SESSION['current']->hasAppVersionModifyPermission($oVersion)) { echo '',"\n"; echo 'Edit',"\n";