From 453a96b60bd4480d0ef11d0673321a3841053675 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Fri, 12 Oct 2012 15:11:10 +0000 Subject: [PATCH] // small fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17851 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminEmailsController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controllers/admin/AdminEmailsController.php b/controllers/admin/AdminEmailsController.php index 959256720..996f82805 100644 --- a/controllers/admin/AdminEmailsController.php +++ b/controllers/admin/AdminEmailsController.php @@ -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');