Removed unnecessary exit - calls

Signed-off-by: Florian Aders <eleras@froxlor.org>
This commit is contained in:
Florian Aders
2016-02-22 12:10:06 +01:00
parent f00a1ca092
commit deb19f2625
13 changed files with 13 additions and 44 deletions

View File

@@ -42,7 +42,6 @@ if ($action == 'logout') {
Database::pexecute($stmt, $params);
redirectTo('index.php');
exit;
}
if (isset($_POST['id'])) {
@@ -201,7 +200,6 @@ if ($page == 'overview') {
if (!validatePasswordLogin($userinfo,$old_password,TABLE_PANEL_ADMINS,'adminid')) {
standard_error('oldpasswordnotcorrect');
exit;
}
$new_password = validate($_POST['new_password'], 'new password');