mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Fix #132
(cherry picked from commit d4222e98e604592a9453a8ccde8ad2d7c28b85eb)
This commit is contained in:
parent
e61bfd2722
commit
25afbd935c
@ -66,7 +66,7 @@ if($email_new_time < 10) {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($email_new_time < time()) {
|
if($email_new_time < time()) {
|
||||||
if($_POST['changeemailsave'] == 1) {
|
if (isset($_POST['changeemailsave']) && $_POST['changeemailsave'] == 1) {
|
||||||
$account_logged->setCustomField("email_new", "");
|
$account_logged->setCustomField("email_new", "");
|
||||||
$account_logged->setCustomField("email_new_time", 0);
|
$account_logged->setCustomField("email_new_time", 0);
|
||||||
$account_logged->setEmail($email_new);
|
$account_logged->setEmail($email_new);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user