From 24cdafcc56ee34cbcfd6a2dabf64257613e2a521 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 16 Oct 2004 14:20:19 +0000 Subject: [PATCH] backport --- htdocs/inscription/step4.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/inscription/step4.php b/htdocs/inscription/step4.php index 83ea022..a8c31f4 100644 --- a/htdocs/inscription/step4.php +++ b/htdocs/inscription/step4.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: step4.php,v 1.2 2004-10-10 13:51:13 x2000habouzit Exp $ + $Id: step4.php,v 1.3 2004-10-16 14:20:19 x2000habouzit Exp $ ***************************************************************************/ require("auto.prepend.inc.php"); @@ -98,7 +98,7 @@ if (!empty($_REQUEST['ref'])) { $res = $globals->db->query("SELECT DISTINCT a.alias,e.date_envoi FROM envoidirect AS e INNER JOIN aliases AS a ON ( a.id = e.sender AND a.type='a_vie' ) - WHERE e.matricule = '".$forlife."'"); + WHERE e.matricule = '$matricule'"); while (list($sender_usern, $sender_date) = mysql_fetch_row($res)) { $mymail = new TplMailer('marketing.thanks.tpl'); $mymail->assign('to', $sender_usern); -- 2.1.4