From 9fc15992a7c8d9afed187121ecf1c416182c47cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 8 Aug 2010 16:13:20 +0200 Subject: [PATCH] Removes warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/xnet/skin.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index b8a29af..d8d411f 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -112,7 +112,7 @@ {/foreach} {if t($asso)}{assign var=asso_id value=$asso->id}{/if} {if t($smarty.session.suid)}{assign var=suid value=true}{else}{assign var=suid value=false}{/if} - {if $asso && $is_admin || + {if t($asso) && $is_admin || ($suid && ($smarty.session.suid.perms->hasFlag('admin') || $smarty.session.suid.may_update[$asso_id]))}

Voir le site comme…

-- 2.1.4