// something missing in the last commit
This commit is contained in:
@@ -678,6 +678,9 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
|||||||
|
|
||||||
public function ajaxProcessSyncImap()
|
public function ajaxProcessSyncImap()
|
||||||
{
|
{
|
||||||
|
if ($this->tabAccess['edit'] != '1')
|
||||||
|
throw new PrestaShopException(Tools::displayError('You do not have permission to edit here.'));
|
||||||
|
|
||||||
if (Tools::isSubmit('syncImapMail'))
|
if (Tools::isSubmit('syncImapMail'))
|
||||||
{
|
{
|
||||||
if (!($url = Configuration::get('PS_SAV_IMAP_URL'))
|
if (!($url = Configuration::get('PS_SAV_IMAP_URL'))
|
||||||
|
|||||||
Reference in New Issue
Block a user