X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=95667c1f3340041f5718d15f1f7183171146506b;hb=81120a6fae8573d4d333ab9009f57efa81b55c7e;hp=63efbf6bdd068079c7137ac5bfc95f3788493893;hpb=8dda254648e0ebf8ba0e6a7b2d58acff730ada2c;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 63efbf6..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))}