Module: appdb Branch: master Commit: 46719d462cad4c6aa6d1ac1c24216d84c7dc8e11 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=46719d462cad4c6aa6d1ac1c2... Author: Rosanne DiMesio <dimesio(a)earthlink.net> Date: Fri Jun 16 15:04:05 2017 -0500 Update rating of old version when a test is moved Fixes bug 42989. Signed-off-by: Rosanne DiMesio <dimesio(a)earthlink.net> Signed-off-by: Jeremy Newman <jnewman(a)codeweavers.com> --- 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(); }