From: Raphaël Barrois Date: Fri, 2 Apr 2010 07:52:30 +0000 (+0200) Subject: Fixes remaining $p instead of $profile in profile.tpl X-Git-Tag: xorg/1.0.0~324 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2ab391bc2de2135ba918ef26b24fc5f50bf006d3;p=platal.git Fixes remaining $p instead of $profile in profile.tpl Signed-off-by: Raphaël Barrois --- diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 2362564..a1af8c1 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -97,7 +97,7 @@ function chgMainWinLoc(strPage)  {if !$profile->isDead()}{* *}{icon name=vcard title="Afficher la carte de visite"}{/if} - {if !$smarty.session.user->isContact($p)} + {if !$smarty.session.user->isContact($profile)} {icon name=add title="Ajouter à mes contacts"} {else} @@ -171,7 +171,7 @@ function chgMainWinLoc(strPage)  - Formation : {/if}