Skip to content

Commit

Permalink
Merge branch 'MDL-61937-master-fix' of git://github.com/andrewnicols/…
Browse files Browse the repository at this point in the history
…moodle
  • Loading branch information
junpataleta committed May 7, 2018
2 parents fbd7daf + ea80f96 commit 97f1c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/data/classes/privacy/provider.php
Expand Up @@ -294,7 +294,7 @@ protected static function export_data_record($context, $user, $recordobj) {
[$recordobj->id], $recordobj->userid != $user->id);
// Export ratings. For records that were not made by this user export only this user's ratings, for own records
// export ratings from everybody.
\core_rating\privacy\provider::export_area_ratings($user->id, $context, [$recordobj->id], 'entry',
\core_rating\privacy\provider::export_area_ratings($user->id, $context, [$recordobj->id], 'mod_data', 'entry',
$recordobj->id, $recordobj->userid != $user->id);
}

Expand Down

0 comments on commit 97f1c1f

Please sign in to comment.