X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=967bf7e04962ca7a5edfcb764b59c20825dbb2b3;hb=43c653a10a1c75be317696bf4c66db555606d39e;hp=036ae029cdac2e9d7256e5801a1ccf2543404394;hpb=e792fdb8369fc68889545c17bff67b465b4c921e;p=platal.git diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 036ae02..967bf7e 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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))}