Commit 68d12596 authored by adrive's avatar adrive

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

parent 187c194b
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment