Fix notices
authorx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Sun, 19 Aug 2007 11:40:13 +0000 (11:40 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:35:48 +0000 (00:35 +0100)
 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

banana/page.inc.php
banana/templates/banana-message.inc.tpl

index fe6a808..ab0954b 100644 (file)
@@ -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';
 }
 
index 8a07445..1110e80 100644 (file)
@@ -52,7 +52,7 @@
   </tr>
   {/if}
   {assign var=signature value=$message->getSignature()}
-  {if $signature|@count}
+  {if $signature && $signature.key.id}
   <tr class="pair">
     <td class="hdr">{"Signature"|b}</td>
     <td colspan="2">