mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
Fix #132
This commit is contained in:
parent
8dd07d4873
commit
d4222e98e6
@ -66,7 +66,7 @@ if($email_new_time < 10) {
|
||||
else
|
||||
{
|
||||
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_time", 0);
|
||||
$account_logged->setEmail($email_new);
|
||||
|
Loading…
x
Reference in New Issue
Block a user