diff --git a/include/testData.php b/include/testData.php index 2d5db25..6556896 100644 --- a/include/testData.php +++ b/include/testData.php @@ -192,6 +192,7 @@ class testData{ if($this->sState == 'accepted') { + $oOldVersion = new version($oOldTest->iVersionId); $oOldVersion->updateRatingInfo(); $oNewVersion->updateRatingInfo(); }