Quoted inheritance type value to be able to use string values as keyValues
This commit is contained in:
parent
187c194bbd
commit
68d12596ce
@ -592,7 +592,7 @@ END;
|
|||||||
|
|
||||||
if (isset($options['inheritance']['keyField']) && isset($options['inheritance']['keyValue'])) {
|
if (isset($options['inheritance']['keyField']) && isset($options['inheritance']['keyValue'])) {
|
||||||
$i++;
|
$i++;
|
||||||
$ret[$i] = " ".'$this->setInheritanceMap(array(\''.$options['inheritance']['keyField'].'\' => '.$options['inheritance']['keyValue'].'));';
|
$ret[$i] = " ".'$this->setInheritanceMap(array(\''.$options['inheritance']['keyField'].'\' => \''.$options['inheritance']['keyValue'].'\'));';
|
||||||
}
|
}
|
||||||
|
|
||||||
$code = implode("\n", $ret);
|
$code = implode("\n", $ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user