Commit c7f6ca21 authored by Rémi Gaillard's avatar Rémi Gaillard

// small fix

parent 0d0cc3f7
......@@ -209,6 +209,10 @@ class AdminEmailsControllerCore extends AdminController
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')
{
$smtpChecked = (trim(Tools::getValue('mailMethod')) == 'smtp');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment