Commit 8839e27c authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Double slash in url

parent 27e005b5
......@@ -69,12 +69,12 @@ $institution = $view->get('institution');
if ($new && isset($_POST['cancel'])) {
$view->delete();
if ($group) {
redirect(get_config('wwwroot') . '/view/groupviews.php?group='.$group);
redirect(get_config('wwwroot') . 'view/groupviews.php?group='.$group);
}
if ($institution) {
redirect(get_config('wwwroot') . '/view/institutionviews.php?institution='.$institution);
redirect(get_config('wwwroot') . 'view/institutionviews.php?institution='.$institution);
}
redirect(get_config('wwwroot') . '/view/');
redirect(get_config('wwwroot') . 'view/');
}
View::set_nav($group, $institution, ($view->get('type') == 'profile'));
......
Supports Markdown
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