From 00f02521e8e15f52005cb24aef3e70d5eb21399f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 8 Sep 2003 11:41:39 +0000 Subject: [PATCH] =?UTF-8?q?Correction=20bug=20#5027=20N'affiche=20plus=20l?= =?UTF-8?q?a=20case=20calendrier=20si=20le=20module=20webcalendar=20n'est?= =?UTF-8?q?=20pas=20activ=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/action/fiche.php3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php3 b/htdocs/comm/action/fiche.php3 index 16ee14c4108..7107e8778e2 100644 --- a/htdocs/comm/action/fiche.php3 +++ b/htdocs/comm/action/fiche.php3 @@ -256,7 +256,10 @@ if ($action=='create') $html->select_array("nextactionid", $caction->liste_array(), 0); print ''; print 'Action'; - print 'Calendrier'; + if (defined("MAIN_MODULE_WEBCALENDAR") && MAIN_MODULE_WEBCALENDAR) + { + print 'Calendrier'; + } print 'Commentaire'; print ''; print '';