From 1f0f640d05d0fd45f8a922e020e10cb44bc3a6d1 Mon Sep 17 00:00:00 2001
From: b_b <brunobergot@gmail.com>
Date: Fri, 28 May 2010 12:02:51 +0000
Subject: [PATCH] report de [15713] sur la branche dev

---
 squelettes-dist/formulaires/inscription.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/squelettes-dist/formulaires/inscription.php b/squelettes-dist/formulaires/inscription.php
index 80a0211454..fbcdaad5f0 100644
--- a/squelettes-dist/formulaires/inscription.php
+++ b/squelettes-dist/formulaires/inscription.php
@@ -102,6 +102,12 @@ function formulaires_inscription_traiter_dist($mode, $focus, $id=0) {
 		list($sujet,$msg,$from,$head) = $f($desc, $nom, $mode, $id);
 		if (!$envoyer_mail($mail_complet, $sujet, $msg, $from, $head))
 			$desc = _T('form_forum_probleme_mail');
+		// Notifications
+		if ($notifications = charger_fonction('notifications', 'inc')) {
+			$notifications('inscription', $desc['id_auteur'],
+				array('nom' => $desc['nom'], 'email' => $desc['email'])
+			);
+		}
 	}
 
 	return array('message_ok'=>is_string($desc) ? $desc : _T('form_forum_identifiant_mail'));
-- 
GitLab