make_link with no args links to default page

git-svn-id: file:///home/shish/svn/shimmie2/trunk@373 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-07-26 13:19:39 +00:00
parent ccf45ef91f
commit 2e8e839f5c
16 changed files with 22 additions and 19 deletions

View File

@ -54,7 +54,7 @@ class UserPage extends Extension {
else if($event->get_arg(0) == "logout") {
setcookie("shm_session", "", time()+60*60*24*$config->get_int('login_memory'), "/");
$page->set_mode("redirect");
$page->set_redirect(make_link("index"));
$page->set_redirect(make_link());
}
else if($event->get_arg(0) == "changepass") {
$this->change_password_wrapper($event->page);