11-21-2017, 10:56 AM
When you update your user settings, and success messages are displayed on selecting Update, the updated values are saved but the screen does not show the updated values.
file: users/user-settings.php
Change from: (approx line 230)
$errors[]="Current password verification failed. Update failed. Please try again.";
} }
$userdetails=$user->data();
}
$userdetails=$user->data();
}
?>
<div id="page-wrapper">
<div class="container">
To
$errors[]="Current password verification failed. Update failed. Please try again.";
} }
//$userdetails=$user->data(); (Don't think this is needed?)
}
//$userdetails=$user->data(); (Don't think this is needed?)
}
// mod to allow edited values to be shown in form after update
$user2 = new User();
$userdetails=$user2->data();
?>
<div id="page-wrapper">
<div class="container">
file: users/user-settings.php
Change from: (approx line 230)
$errors[]="Current password verification failed. Update failed. Please try again.";
} }
$userdetails=$user->data();
}
$userdetails=$user->data();
}
?>
<div id="page-wrapper">
<div class="container">
To
$errors[]="Current password verification failed. Update failed. Please try again.";
} }
//$userdetails=$user->data(); (Don't think this is needed?)
}
//$userdetails=$user->data(); (Don't think this is needed?)
}
// mod to allow edited values to be shown in form after update
$user2 = new User();
$userdetails=$user2->data();
?>
<div id="page-wrapper">
<div class="container">