From b2e6db3cb008423102758377f39a135072b20e4a Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 28 Sep 2007 21:20:20 +0200 Subject: [PATCH] Fix xnet asso page for not connected users Signed-off-by: Florent Bruneau --- templates/xnet/skin.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 4aa1686..479434d 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -136,13 +136,15 @@ {/foreach} - {if $asso && ($is_admin || $smarty.session.suid.perms->hasFlag('admin') || $smarty.session.suid.may_update[$asso.id])} + {if $asso && ($is_admin || + ($smarty.session.suid && ($smarty.session.suid.perms->hasFlag('admin') || + $smarty.session.suid.may_update[$asso.id])))}
voir le site en tant que...