From a0ecbd0294ead18a534b7498a2d91a4a163eb8e7 Mon Sep 17 00:00:00 2001 From: xisi Date: Wed, 15 Jan 2014 10:52:54 -0500 Subject: [PATCH] fix cosmetic issue --- public/include/pages/account/edit.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/include/pages/account/edit.inc.php b/public/include/pages/account/edit.inc.php index 95bbf74f..1d5eaf50 100644 --- a/public/include/pages/account/edit.inc.php +++ b/public/include/pages/account/edit.inc.php @@ -83,6 +83,7 @@ if ($user->isAuthenticated()) { if ($dBalance > $config['txfee']) { if (!$oPayout->isPayoutActive($_SESSION['USERDATA']['id'])) { if ($iPayoutId = $oPayout->createPayout($_SESSION['USERDATA']['id'], $wf_token)) { + $wf_sent = 0; $wf_editable = 0; $_SESSION['POPUP'][] = array('CONTENT' => 'Created new manual payout request with ID #' . $iPayoutId); } else { $_SESSION['POPUP'][] = array('CONTENT' => $iPayoutId->getError(), 'TYPE' => 'errormsg'); @@ -98,6 +99,7 @@ if ($user->isAuthenticated()) { case 'updateAccount': if ($user->updateAccount($_SESSION['USERDATA']['id'], $_POST['paymentAddress'], $_POST['payoutThreshold'], $_POST['donatePercent'], $_POST['email'], $_POST['is_anonymous'], $ea_token)) { + $ea_sent = 0; $ea_editable = 0; $_SESSION['POPUP'][] = array('CONTENT' => 'Account details updated', 'TYPE' => 'success'); } else { $_SESSION['POPUP'][] = array('CONTENT' => 'Failed to update your account: ' . $user->getError(), 'TYPE' => 'errormsg'); @@ -106,6 +108,7 @@ if ($user->isAuthenticated()) { case 'updatePassword': if ($user->updatePassword($_SESSION['USERDATA']['id'], $_POST['currentPassword'], $_POST['newPassword'], $_POST['newPassword2'], $cp_token)) { + $cp_sent = 0; $cp_editable = 0; $_SESSION['POPUP'][] = array('CONTENT' => 'Password updated', 'TYPE' => 'success'); } else { $_SESSION['POPUP'][] = array('CONTENT' => $user->getError(), 'TYPE' => 'errormsg');