[-] BO : Customer Service options/sync mailbox not working - #PSFV-539

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13476 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-02-20 16:24:51 +00:00
parent 4d641d6a7c
commit a00899b78a
4 changed files with 575 additions and 553 deletions
+1 -1
View File
@@ -646,7 +646,7 @@ if (Tools::isSubmit('syncImapMail'))
if (!function_exists('imap_open'))
die('{"hasError" : true, "errors" : ["imap is not installed on this server"]}');
$mbox = @imap_open('{'.$url.':'.$port.(Configuration::get('PS_SAV_IMAP_SSL') ? '/ssl' : '').'}', $user, $password);
$mbox = @imap_open('{'.$url.':'.$port.(Configuration::get('PS_SAV_IMAP_OPT') ? Configuration::get('PS_SAV_IMAP_OPT') : '').'}', $user, $password);
//checks if there is no error when connecting imap server
$errors = imap_errors();