1
0
mirror of synced 2024-12-14 07:06:04 +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);
@ -839,4 +839,4 @@ END;
throw new Doctrine_Import_Builder_Exception("Couldn't write file " . $writePath);
}
}
}
}