[aur-dev] [PATCH] account.php: Always initialize $success
28 Feb
2017
28 Feb
'17
6:10 a.m.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> --- web/html/account.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/html/account.php b/web/html/account.php index 0b75761..549f852 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -24,6 +24,7 @@ if (in_array($action, $need_userinfo)) { * which could be changed by process_account_form() */ if ($action == "UpdateAccount") { + $success = false; $update_account_message = ''; /* Details for account being updated */ /* Verify user permissions and that the request is a valid POST */ -- 2.12.0
2862
Age (days ago)
2862
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lukas Fleischer