[aur-dev] [PATCH] account.php: Always initialize $success

Lukas Fleischer lfleischer at archlinux.org
Tue Feb 28 06:10:35 UTC 2017


Signed-off-by: Lukas Fleischer <lfleischer at 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


More information about the aur-dev mailing list