master
joey 2006-03-12 04:21:16 +00:00
parent 9d1d1844b3
commit add57e9e6a
1 changed files with 2 additions and 2 deletions

View File

@ -747,12 +747,12 @@ sub cgi_signin ($$) { #{{{
if ($form->submitted eq 'Login') {
$session->param("name", $form->field("name"));
if (defined $form->field("do")) {
$q->redirect(
print $q->redirect(
"$cgiurl?do=".$form->field("do").
"&page=".$form->field("page"));
}
else {
$q->redirect($url);
print $q->redirect($url);
}
}
elsif ($form->submitted eq 'Register') {