diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index 1392ff41b..62a8114ba 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -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); @@ -839,4 +839,4 @@ END; throw new Doctrine_Import_Builder_Exception("Couldn't write file " . $writePath); } } -} \ No newline at end of file +}