Fixed: Permissions issues

This commit is contained in:
Sumit Panwar
2025-06-04 13:53:56 +05:30
parent b5e458e583
commit 0a6058c9f0
49 changed files with 271 additions and 271 deletions

View File

@@ -318,7 +318,7 @@ class AdminEmailsControllerCore extends AdminController
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');
$smtpServer = Tools::getValue('smtpSrv');
$content = html_entity_decode(urldecode(Tools::getValue('testMsg')));