Commit a0c1a71d authored by Richard Mansfield's avatar Richard Mansfield

Make toggle public form go back to the profile view editing page

Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent a0b9a369
......@@ -3813,7 +3813,7 @@ function togglepublic_submit(Pieform $form, $values) {
$view->set_access($access);
$SESSION->add_ok_msg(get_string('viewaccesseditedsuccessfully', 'view'));
redirect('/view');
redirect('/view/blocks.php?id=' . $view->get('id'));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment