From de7dc3b3da96e7866c309e400cca7e30476564db Mon Sep 17 00:00:00 2001 From: Thomas Minvielle Date: Tue, 13 Sep 2011 14:12:36 +0200 Subject: [PATCH] Mailer does not mention deceased contacts. --- templates/carnet/notif.mail.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/carnet/notif.mail.tpl b/templates/carnet/notif.mail.tpl index 20a100c..22f0675 100644 --- a/templates/carnet/notif.mail.tpl +++ b/templates/carnet/notif.mail.tpl @@ -37,8 +37,8 @@ Tu trouveras les mêmes informations sur [[https://www.polytechnique.org/carnet/ {$cat.title} : {foreach from=$cat.users item=user} -{if not isset($user->death())} {assign var=profile value=$user->profile()} +{if !$profile->isDead()} * Le {$cat.operation->getDate($user)|date_format:"%d %B %Y"}, [[https://www.polytechnique.org/profile/private/{$profile->hrid()}|{$profile->fullname(true)}]] {/if} {/foreach} -- 2.1.4