Merge branch 'xorg/maint' into xorg/master
authorStéphane Jacob <sj@m4x.org>
Tue, 13 Sep 2011 17:59:10 +0000 (19:59 +0200)
committerStéphane Jacob <sj@m4x.org>
Tue, 13 Sep 2011 17:59:10 +0000 (19:59 +0200)
include/validations/aliases.inc.php

index 5109fa9..259939f 100644 (file)
@@ -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());
         }