From 6e2a3be4d7e4e9f4ca1e08306ef89ff353b47909 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Wed, 11 Jan 2012 13:43:53 +0000 Subject: [PATCH] [-] MO : #PSTEST-303 - Send email verification git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12351 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blocknewsletter/blocknewsletter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/blocknewsletter/blocknewsletter.php b/modules/blocknewsletter/blocknewsletter.php index 061531d6e..4d23d02a7 100644 --- a/modules/blocknewsletter/blocknewsletter.php +++ b/modules/blocknewsletter/blocknewsletter.php @@ -229,6 +229,8 @@ class Blocknewsletter extends Module if (!$token = $this->getToken($email, $register_status)) return $this->error = $this->l('Error during subscription'); + $this->sendVerificationEmail($email, $token); + return $this->valid = $this->l('A verification email has been sent. Please check your email.'); } else