account.php: Always initialize $success

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2017-02-28 07:09:51 +01:00
parent 06cf067d4f
commit eb6ae0c685

View file

@ -24,6 +24,7 @@ if (in_array($action, $need_userinfo)) {
* which could be changed by process_account_form() * which could be changed by process_account_form()
*/ */
if ($action == "UpdateAccount") { if ($action == "UpdateAccount") {
$success = false;
$update_account_message = ''; $update_account_message = '';
/* Details for account being updated */ /* Details for account being updated */
/* Verify user permissions and that the request is a valid POST */ /* Verify user permissions and that the request is a valid POST */