[-] MO : #PSCFV-2539 - Module block newsletter don't show success error message correctly
This commit is contained in:
1 parent
e1dd1ab832
commit
d1af3956f5
2 files changed
+13
-2
No files matched your search
@@ -214,8 +214,8 @@ class Blocknewsletter extends Module
|
||||
else if ($_POST['action'] == '0')
|
||||
{
|
||||
$register_status = $this->isNewsletterRegistered($_POST['email']);
|
||||
//if ($register_status > 0)
|
||||
// return $this->error = $this->l('E-mail address already registered');
|
||||
if ($register_status > 0)
|
||||
return $this->error = $this->l('E-mail address already registered');
|
||||
|
||||
$email = pSQL($_POST['email']);
|
||||
if (!$this->isRegistered($register_status))
|
||||
|
||||
Reference in new issue
Block a user