From: x2003bruneau Date: Sun, 19 Aug 2007 11:40:13 +0000 (+0000) Subject: Fix notices X-Git-Tag: 1.8~38 X-Git-Url: http://git.polytechnique.org/?p=banana.git;a=commitdiff_plain;h=1d57a0f1cd8f7534c48fd0f0a71210d2dbab1d59 Fix notices page.inc.php | 2 +- templates/banana-message.inc.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@272 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/page.inc.php b/banana/page.inc.php index fe6a808..ab0954b 100644 --- a/banana/page.inc.php +++ b/banana/page.inc.php @@ -7,7 +7,7 @@ * Copyright: See COPYING files that comes with this distribution ********************************************************************************/ -if (!include_once('Smarty.class.php')) { +if (@!include_once('Smarty.class.php')) { require_once 'smarty/libs/Smarty.class.php'; } diff --git a/banana/templates/banana-message.inc.tpl b/banana/templates/banana-message.inc.tpl index 8a07445..1110e80 100644 --- a/banana/templates/banana-message.inc.tpl +++ b/banana/templates/banana-message.inc.tpl @@ -52,7 +52,7 @@ {/if} {assign var=signature value=$message->getSignature()} - {if $signature|@count} + {if $signature && $signature.key.id} {"Signature"|b}