If here is mended and not put, e-mail of the person who clicked first is changed.
$db->updateMail($_USER['ID'], $newEmail);
$db->updateMail($_GET['uid'], $newEmail);
If here is mended and not put, e-mail of the person who clicked first is changed.
$db->updateMail ($_USER[ 'ID'], $newEmail);
$db->updateMail ($_GET[ 'uid'], $newEmail);