X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile.php;h=98a3e3e7b34c06f610b2bbb0dc87726c7aa6d86e;hb=e93255ef54304c697ef7ac101247f23dc5f7b31f;hp=6714c4e805beeefc8abeee2f45113ccf36712874;hpb=07c1b4bc8ebf1ec9d358ec8897a89287378acd63;p=platal.git diff --git a/modules/profile.php b/modules/profile.php index 6714c4e..98a3e3e 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -273,7 +273,7 @@ class ProfileModule extends PLModule $page->setTitle($profile->fullName()); // Determines and displays the virtual alias. - if (!is_null($owner) && $profile->isVisible($profile->alias_pub)) { + if (!is_null($owner) && $profile->alias_pub == 'public') { $page->assign('virtualalias', $owner->emailAlias()); }