From 83d00b009aa464a9e7bee59c652c2590d9a190a9 Mon Sep 17 00:00:00 2001 From: yn42 Date: Mon, 8 Jan 2024 09:21:12 +0100 Subject: [PATCH] modification : acceptation des multi-destinataires dans les liens mailto --- include/functions.inc.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 19c874bbf..0d106ae15 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -2,9 +2,9 @@ /** * include/functions.inc.php * fichier Bibliothèque de fonctions de GRR - * Dernière modification : $Date: 2023-10-18 11:26$ + * Dernière modification : $Date: 2024-01-08 09:17$ * @author JeromeB & Laurent Delineau & Marc-Henri PAMISEUX & Yan Naessens - * @copyright Copyright 2003-2023 Team DEVOME - JeromeB + * @copyright Copyright 2003-2024 Team DEVOME - JeromeB * @link http://www.gnu.org/licenses/licenses.html * * This file is part of GRR. @@ -306,9 +306,10 @@ function affiche_lien_contact($_cible, $_type_cible, $option_affichage) } else { - if (validate_email($_email)) + $email_seq = filter_multi_emails($_email); + if ($email_seq != "") { - $affichage = ''.$_identite.''; + $affichage = ''.$_identite.''; } else if ($option_affichage == "afficher_toujours") @@ -4585,7 +4586,7 @@ function find_user_room($id_room) return $emails; } // trouve les mails des utilisateurs actifs gestionnaires de ressource -function find_active_user_room ($id_room) +function find_active_user_room($id_room) { $emails = array (); $sql = "select email from ".TABLE_PREFIX."_utilisateurs, ".TABLE_PREFIX."_j_user_room