X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=95667c1f3340041f5718d15f1f7183171146506b;hb=245923e335d0da5bec9495991a7846be9f0563ab;hp=53eecf47da9bc979f2721275d3d03c98ba1f0f3f;hpb=853ff307303faf861396c4e22dbaa56114366751;p=platal.git
diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl
index 53eecf4..95667c1 100644
--- a/templates/profile/profile.tpl
+++ b/templates/profile/profile.tpl
@@ -44,7 +44,7 @@ function chgMainWinLoc(strPage)
{assign var=photo value=$profile->getPhoto(false)}
{if $photo}{/if}
- {if $logged && $view eq 'private' && ( $profile->section|smarty:nodefaults || $profile->getBinets()|smarty:nodefaults || ($owner && $owner->groups()|smarty:nodefaults))}
+ {if $logged && $view eq 'private' && ( $profile->section|smarty:nodefaults || $profile->getBinets()|smarty:nodefaults || ($owner && $owner->groups(true,true)|smarty:nodefaults))}