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'); ...@@ -69,12 +69,12 @@ $institution = $view->get('institution');
if ($new && isset($_POST['cancel'])) { if ($new && isset($_POST['cancel'])) {
$view->delete(); $view->delete();
if ($group) { if ($group) {
redirect(get_config('wwwroot') . '/view/groupviews.php?group='.$group); redirect(get_config('wwwroot') . 'view/groupviews.php?group='.$group);
} }
if ($institution) { 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')); 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