From 283f16234f77dda88589fe98bf5aadb8786cf308 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 May 2024 01:02:40 +0200 Subject: [PATCH] Debug v20 --- htdocs/core/lib/company.lib.php | 2 +- htdocs/core/lib/product.lib.php | 2 +- htdocs/ticket/card.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index ea711bacaa5..643d6800099 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -392,7 +392,7 @@ function societe_prepare_head(Societe $object) $h++; } - $head[$h][0] = DOL_URL_ROOT.'/societe/agenda.php?socid='.$object->id; + $head[$h][0] = DOL_URL_ROOT.'/societe/messaging.php?socid='.$object->id; $head[$h][1] = $langs->trans("Events"); if (isModEnabled('agenda') && ($user->hasRight('agenda', 'myactions', 'read') || $user->hasRight('agenda', 'allactions', 'read'))) { $nbEvent = 0; diff --git a/htdocs/core/lib/product.lib.php b/htdocs/core/lib/product.lib.php index 64ddc447053..a13d2ced4c8 100644 --- a/htdocs/core/lib/product.lib.php +++ b/htdocs/core/lib/product.lib.php @@ -218,7 +218,7 @@ function product_prepare_head($object) $h++; // Log - $head[$h][0] = DOL_URL_ROOT.'/product/agenda.php?id='.$object->id; + $head[$h][0] = DOL_URL_ROOT.'/product/messaging.php?id='.$object->id; $head[$h][1] = $langs->trans("Events"); if (isModEnabled('agenda') && ($user->hasRight('agenda', 'myactions', 'read') || $user->hasRight('agenda', 'allactions', 'read'))) { $head[$h][1] .= '/'; diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index 4e0cf72d892..18ce093e53c 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -1594,7 +1594,7 @@ if ($action == 'create' || $action == 'presend') { print showDirectPublicLink($object).'
'; print ''; - if (getDolGlobalString('TICKET_SHOW_MESSAGES_ON_CARD')) { + if (!getDolGlobalString('MAIN_HIDE_MESSAGES_ON_CARD')) { print '
'; $MAXEVENT = 10;