From 2ab391bc2de2135ba918ef26b24fc5f50bf006d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 2 Apr 2010 09:52:30 +0200 Subject: [PATCH] Fixes remaining $p instead of $profile in profile.tpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- templates/profile/profile.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.1.4