X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile.php;h=b3e04a7beec52cf6e88f95c4af7140109eaabf9d;hb=8446dbd33da58da92a89258081bb99aa993bfe51;hp=d27f480ef5a842f02602b5caa996684999117baf;hpb=cb0af6e5aa12825ce29fe17f7456a894ea4def3f;p=platal.git diff --git a/modules/profile.php b/modules/profile.php index d27f480..b3e04a7 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -247,7 +247,7 @@ class ProfileModule extends PLModule $page->setTitle($profile->fullName()); // Determines and displays the virtual alias. - if (!is_null($owner)) { + if (!is_null($owner) && $profile->alias_pub == 'public') { $page->assign('virtualalias', $owner->emailAlias()); }