X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Faliases.inc.php;h=259939ffcad97132e842f4e638a1bcbcba7b662d;hb=07d0a10adbc2578f9b85875e551a03b99d3650e8;hp=5109fa92bdf6e1852eb4753edfb1ce79970b406e;hpb=b4d831e0e37eb7abae898781bd57b3df99c6ac9e;p=platal.git diff --git a/include/validations/aliases.inc.php b/include/validations/aliases.inc.php index 5109fa9..259939f 100644 --- a/include/validations/aliases.inc.php +++ b/include/validations/aliases.inc.php @@ -101,6 +101,7 @@ class AliasReq extends Validate if ($success) { // Update the local User object, to pick up the new bestalias. + require_once 'emails.inc.php'; fix_bestalias($this->user); $this->user = User::getSilentWithUID($this->user->id()); }