From: Rosanne DiMesio Subject: [AppDB] Update rating of old version when a test is moved Message-Id: <20170616200405.14470-1-dimesio@earthlink.net> Date: Fri, 16 Jun 2017 15:04:05 -0500 Fixes bug 42989. Signed-off-by: Rosanne DiMesio --- include/testData.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/testData.php b/include/testData.php index bf5b727..051ef65 100644 --- a/include/testData.php +++ b/include/testData.php @@ -239,6 +239,8 @@ class testData{ { $oNewVersion = new version($this->iVersionId); $oNewVersion->updateRatingInfo(); + $oOldVersion = new version($oOldTest->iVersionId); + $oOldVersion->updateRatingInfo(); } $oVersion->updateRatingInfo(); } -- 2.12.3