MDL-12598 use user context instead of personal

This commit is contained in:
skodak
2007-12-16 10:34:41 +00:00
parent 6c9f235d93
commit f337e9c2c9
+1 -1
View File
@@ -544,7 +544,7 @@ if ($formdata = $mform->is_cancelled()) {
profile_save_data($user);
// make sure user context exists
get_context_instance(CONTEXT_PERSONAL, $user->id);
get_context_instance(CONTEXT_USER, $user->id);
if ($bulk == 1 or $bulk == 3) {
if (!in_array($user->id, $SESSION->bulk_users)) {