Permalink
Browse files

MDL-29464 quiz add random question popup does not update sumgrades.

  • Loading branch information...
timhunt committed Sep 21, 2011
1 parent 51e1e3d commit 2d56b929c0908a4b522dd5d88ca22d7050ac22bf
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/quiz/addrandom.php
View
@@ -74,6 +74,8 @@
}
quiz_add_random_questions($quiz, $addonpage, $categoryid, 1, $includesubcategories);
+ quiz_delete_previews($quiz);
+ quiz_update_sumgrades($quiz);
redirect($returnurl);
}

0 comments on commit 2d56b92

Please sign in to comment.