// small fix
This commit is contained in:
@@ -209,6 +209,10 @@ class AdminEmailsControllerCore extends AdminController
|
|||||||
|
|
||||||
public function ajaxProcessSendMailTest()
|
public function ajaxProcessSendMailTest()
|
||||||
{
|
{
|
||||||
|
/* PrestaShop demo mode */
|
||||||
|
if (_PS_MODE_DEMO_)
|
||||||
|
die(Tools::displayError('This functionality has been disabled.'));
|
||||||
|
/* PrestaShop demo mode */
|
||||||
if ($this->tabAccess['view'] === '1')
|
if ($this->tabAccess['view'] === '1')
|
||||||
{
|
{
|
||||||
$smtpChecked = (trim(Tools::getValue('mailMethod')) == 'smtp');
|
$smtpChecked = (trim(Tools::getValue('mailMethod')) == 'smtp');
|
||||||
|
|||||||
Reference in New Issue
Block a user