diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-05-13 14:44:04 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-05-13 14:44:04 +0200 |
commit | e107dff1ce417df779733667ad81d60755582779 (patch) | |
tree | d417b5a0eacdfb19217e116b60a0adae9f5dc466 /includes | |
parent | a33fc5e21d55326fcff69c48a53f6a661a7cbf04 (diff) |
button style and redirect fixes
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/guest_login.php | 2 | ||||
-rw-r--r-- | includes/pages/user_news.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 153c6450..e733aa65 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -131,7 +131,7 @@ function guest_register() { engelsystem_log("User " . $nick . " signed up as: " . join(", ", $user_angel_types_info)); success(_("Angel registration successful!")); - redirect(page_link_to('login')); + redirect('?'); } } diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php index c4447e2c..c85a6243 100644 --- a/includes/pages/user_news.php +++ b/includes/pages/user_news.php @@ -138,7 +138,7 @@ function user_news() { "', '" . sql_escape($_POST["treffen"]) . "');"); engelsystem_log("Created news: " . $_POST["betreff"] . ", treffen: " . $_POST["treffen"]); success(_("Entry saved.")); - redirect(page_link_to('user_news')); + redirect(page_link_to('news')); } if (isset ($_REQUEST['page']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['page'])) |