Quoted inheritance type value to be able to use string values as keyValues
This commit is contained in:
parent
187c194bbd
commit
68d12596ce
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue