X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=bb339049682c66efa68ad51b11dfe11b4a91d86b;hb=34079e502c9395d827fb043852bcd89de410d79e;hp=53eecf47da9bc979f2721275d3d03c98ba1f0f3f;hpb=ed92ea696e042eb9b2d0efcc4731fdf89fb17924;p=platal.git
diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl
index 53eecf4..bb33904 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 *}
@@ -24,7 +24,7 @@
{/literal}
@@ -44,7 +47,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))}