mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-04-11 12:50:55 +00:00
Исправлена проверка части из 10 символов
This commit is contained in:
parent
e0375fdb54
commit
9fcd6f9972
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
## v3.6.9
|
||||
* Добавлена проверка корректности введеного ключа при подключении Daemon collector
|
||||
* Добавлена проверка корректности введеного ключа при подключении Daemon Collector
|
||||
|
||||
## v3.6.8
|
||||
* Исправлен перевод для поля "ИНН"
|
||||
|
|
|
@ -404,7 +404,7 @@ class RetailcrmSettingsValidator
|
|||
|
||||
private function validateCollector($collectorActive, $collectorKey)
|
||||
{
|
||||
return !$collectorActive || preg_match("/^RC-[0-9]{10,}-[0-9]{1,2}$/", $collectorKey);
|
||||
return !$collectorActive || preg_match("/^RC-[0-9]{10}-[0-9]{1,2}$/", $collectorKey);
|
||||
}
|
||||
|
||||
private function addError($field, $message)
|
||||
|
|
Loading…
Add table
Reference in a new issue