1
0
mirror of synced 2025-01-07 09:37:11 +03:00

Quoted inheritance type value to be able to use string values as keyValues

This commit is contained in:
adrive 2007-11-13 16:33:17 +00:00
parent 187c194bbd
commit 68d12596ce

View File

@ -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);