1
0
mirror of synced 2025-01-06 00:57:10 +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'])) {
$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);