summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-02-28 07:09:51 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-02-28 07:09:51 +0100
commiteb6ae0c6852f69a62b4e8226f80e337a67ce636e (patch)
tree1a0181af315a0a71270ffaf653c63424386db712
parent06cf067d4f135a5ec1e36e3316e2b8b75644a86d (diff)
downloadaur-eb6ae0c6852f69a62b4e8226f80e337a67ce636e.tar.gz
aur-eb6ae0c6852f69a62b4e8226f80e337a67ce636e.tar.xz
account.php: Always initialize $success
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/html/account.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/account.php b/web/html/account.php
index 0b757612..549f8524 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 */