projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93255e
)
I should have merged before last commit...
author
Stéphane Jacob
<sj@m4x.org>
Mon, 24 Oct 2011 22:28:38 +0000
(
00:28
+0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 24 Oct 2011 22:28:38 +0000
(
00:28
+0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/profile.php
b/modules/profile.php
index
98a3e3e
..
6714c4e
100644
(file)
--- 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->
alias_pub == 'public'
) {
+ if (!is_null($owner) && $profile->
isVisible($profile->alias_pub)
) {
$page->assign('virtualalias', $owner->emailAlias());
}