Permalink
Browse files

NOBUG: Fix notice (and something more?). Like MDL-12961 but in data m…

…odule
  • Loading branch information...
1 parent 3de4198 commit b70f33ea6d82a8d0db5ceed9e120a292b6e18df5 @stronk7 stronk7 committed Jan 13, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/data/rate.php
View
@@ -14,6 +14,8 @@
if (!$cm = get_coursemodule_from_instance('data', $data->id)) {
error("Course Module ID was incorrect");
+ } else {
+ $data->cmidnumber = $cm->id; //MDL-12961
}
require_login($course, false, $cm);

0 comments on commit b70f33e

Please sign in to comment.