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