fix: [bug] Typo causing "\" to be stripped from attributes where it shouldn't be stripped

pull/4448/head
iglocska 2019-04-09 15:48:29 +02:00
parent 232946c6eb
commit 5eecd75e5b
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class ComplexTypeTool
public function refangValue($value, $type)
{
foreach ($this->__refangRegexTable as $regex) {
if (!isset($regex['type']) || in_array($type, $regex['types'])) {
if (!isset($regex['types']) || in_array($type, $regex['types'])) {
$value = preg_replace($regex['from'], $regex['to'], $value);
}
}