mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-04-10 04:10:54 +00:00
commit
ab81ffe279
3 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
|||
## v2.2.11
|
||||
* Добавлена валидация доменов pro и es в адресах retailCRM
|
||||
|
||||
## v2.2.10
|
||||
* исправление передачи цены доставки в CRM
|
||||
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.2.10
|
||||
2.2.11
|
|
@ -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…
Add table
Reference in a new issue