mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-01 19:03:14 +03:00
v2.2.11
This commit is contained in:
parent
72edb2767a
commit
0cea41e48f
@ -1,3 +1,6 @@
|
||||
## v2.2.11
|
||||
* Добавлена валидация доменов pro и es в адресах retailCRM
|
||||
|
||||
## v2.2.10
|
||||
* исправление передачи цены доставки в CRM
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
* @author Retail Driver LCC
|
||||
* @copyright RetailCRM
|
||||
* @license GPL
|
||||
* @version 2.2.10
|
||||
* @version 2.2.11
|
||||
* @link https://retailcrm.ru
|
||||
*
|
||||
*/
|
||||
@ -38,7 +38,7 @@ class RetailCRM extends Module
|
||||
{
|
||||
$this->name = 'retailcrm';
|
||||
$this->tab = 'export';
|
||||
$this->version = '2.2.10';
|
||||
$this->version = '2.2.11';
|
||||
$this->author = 'Retail Driver LCC';
|
||||
$this->displayName = $this->l('RetailCRM');
|
||||
$this->description = $this->l('Integration module for RetailCRM');
|
||||
@ -835,7 +835,7 @@ class RetailCRM extends Module
|
||||
|
||||
private function validateCrmAddress($address)
|
||||
{
|
||||
if (preg_match("/https:\/\/(.*).retailcrm.ru/", $address) === 1) {
|
||||
if (preg_match("/https:\/\/(.*).retailcrm.(pro|ru|es)/", $address) === 1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user