Skip to content
Snippets Groups Projects
Commit f9aec59f authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

replace mod/profile/edit.php?username=name link with pg/profile/name/edit/

parent da948d39
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ if ($result) {
forward('pg/admin/plugins');
} else if ($_SESSION['user']->last_login == '0' && $view != 'mobile') {
forward('mod/profile/edit.php?username='.$_SESSION['username'].'&firstlogin=yes');
forward('pg/profile/'.$_SESSION['username'].'/edit/?firstlogin=yes');
} else if (get_input('returntoreferer')) {
forward($_SERVER['HTTP_REFERER']);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment