From c340c932ea459286570c4ce7611939fc14f3225f Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Wed, 7 May 2008 00:43:54 +0000
Subject: [PATCH] Fix: Action shown late when not

---
 htdocs/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/index.php b/htdocs/index.php
index b07c619b958..b702ba4b76d 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -260,7 +260,7 @@ $var=true;
 //
 
 // Nbre actions � faire (en retard)
-if ($conf->agenda->enabled && $user->rights->agenda->myactions->read)
+if ($conf->agenda->enabled)
 {
   include_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php");
   $board=new ActionComm($db);
-- 
GitLab