diff --git a/class/actions_dolimeet.class.php b/class/actions_dolimeet.class.php index fa18a16..6ee8cfc 100644 --- a/class/actions_dolimeet.class.php +++ b/class/actions_dolimeet.class.php @@ -226,9 +226,9 @@ public function doActions(array $parameters, $object, string $action): int public function saturneBannerTab(array $parameters, CommonObject $object): int { global $db, $langs; - + // Do something only for the current context - if ($parameters['currentcontext'] == 'saturnecard') { + if (in_array($parameters['currentcontext'], ['saturnecard', 'sessioncard'])) { if (isModEnabled('contrat')) { require_once DOL_DOCUMENT_ROOT . '/contrat/class/contrat.class.php'; if (GETPOST('object_type') == 'trainingsession') {