Skip to content

Commit

Permalink
MDL-62544 privacy: error notification type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dagefoerde committed May 24, 2018
1 parent 97009b7 commit df751f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/dataprivacy/createdatarequest.php
Expand Up @@ -55,7 +55,7 @@
// If contactdataprotectionofficer is disabled, send the user back to the profile page, or the privacy policy page.
// That is, unless you have sufficient capabilities to perform this on behalf of a user.
if (!$manage && !\tool_dataprivacy\api::can_contact_dpo()) {
redirect($returnurl, get_string('contactdpoviaprivacypolicy', 'tool_dataprivacy'), \core\output\notification::NOTIFY_ERROR);
redirect($returnurl, get_string('contactdpoviaprivacypolicy', 'tool_dataprivacy'), 0, \core\output\notification::NOTIFY_ERROR);
}

$mform = new tool_dataprivacy_data_request_form($url->out(false), ['manage' => !empty($manage)]);
Expand Down

0 comments on commit df751f0

Please sign in to comment.