mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-02 19:33:14 +03:00
Fixed url post in module settings
This commit is contained in:
parent
7fd6ff80a2
commit
95c3e291f7
2
.github/workflows/presta.yml
vendored
2
.github/workflows/presta.yml
vendored
@ -153,7 +153,7 @@ jobs:
|
|||||||
git fetch origin --unshallow --tags
|
git fetch origin --unshallow --tags
|
||||||
export LAST_TAG=`git describe --abbrev=0 --tags`
|
export LAST_TAG=`git describe --abbrev=0 --tags`
|
||||||
export VERSION=`cat VERSION`
|
export VERSION=`cat VERSION`
|
||||||
export ARCHIVE_NAME=retailcrm-$VERSION.ocmod.zip
|
export ARCHIVE_NAME=retailcrm-$VERSION.zip
|
||||||
export ARCHIVE_PATH="/tmp/$ARCHIVE_NAME"
|
export ARCHIVE_PATH="/tmp/$ARCHIVE_NAME"
|
||||||
export RELEASE_TAG=v$VERSION
|
export RELEASE_TAG=v$VERSION
|
||||||
export LAST_COMMIT=`git log --oneline --format=%B -n 1 HEAD | head -n 1`
|
export LAST_COMMIT=`git log --oneline --format=%B -n 1 HEAD | head -n 1`
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
## v3.2.6
|
||||||
|
* Исправлена ошибка при сохранении настроек модуля на старых версиях PrestaShop
|
||||||
|
|
||||||
## v3.2.5
|
## v3.2.5
|
||||||
* Исправлена ошибка брошенных корзин для Prestashop версии ниже 1.7.1
|
* Исправлена ошибка брошенных корзин для Prestashop версии ниже 1.7.1
|
||||||
* Исправлена ошибка при проверке адреса клиента
|
* Исправлена ошибка при проверке адреса клиента
|
||||||
|
@ -117,6 +117,12 @@ abstract class RetailcrmAbstractTemplate
|
|||||||
throw new \RuntimeException("Template not be blank");
|
throw new \RuntimeException("Template not be blank");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set url post for forms
|
||||||
|
if (empty($this->smarty->getTemplateVars('url_post'))) {
|
||||||
|
$this->data['url_post'] = $this->smarty->getTemplateVars('current')
|
||||||
|
.'&token='.$this->smarty->getTemplateVars('token');
|
||||||
|
}
|
||||||
|
|
||||||
$this->smarty->assign(\array_merge($this->data, array(
|
$this->smarty->assign(\array_merge($this->data, array(
|
||||||
'moduleErrors' => $this->errors,
|
'moduleErrors' => $this->errors,
|
||||||
'moduleWarnings' => $this->warnings,
|
'moduleWarnings' => $this->warnings,
|
||||||
|
@ -117,7 +117,7 @@ class RetailCRM extends Module
|
|||||||
{
|
{
|
||||||
$this->name = 'retailcrm';
|
$this->name = 'retailcrm';
|
||||||
$this->tab = 'export';
|
$this->tab = 'export';
|
||||||
$this->version = '3.2.5';
|
$this->version = '3.2.6';
|
||||||
$this->author = 'DIGITAL RETAIL TECHNOLOGIES SL';
|
$this->author = 'DIGITAL RETAIL TECHNOLOGIES SL';
|
||||||
$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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user