account.php: Always initialize $success
diff mbox

Message ID 20170228061035.10988-1-lfleischer@archlinux.org
State Accepted, archived
Headers show

Commit Message

Lukas Fleischer Feb. 28, 2017, 6:10 a.m. UTC
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
---
 web/html/account.php | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

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 */