add_system_message(_("At least one of the parameters is empty."), "error"); forward("user/settings/".$user->username); } else { if ($TeKe->user->update_settings($user, $language)) { $TeKe->add_system_message(_("Settings saved.")); } else { $TeKe->add_system_message(_("Error occured."), 'error'); forward("user/settings/".$user->username); } } unset($_SESSION['input_values']); forward("user/view/".$user->username); ?>