Commit ed64914b authored by zYne's avatar zYne

--no commit message

--no commit message
parent e21971d3
......@@ -51,7 +51,7 @@ class Doctrine_Template_Searchable extends Doctrine_Template
$this->_search->buildDefinition($this->_table);
foreach ((array) $id as $column) {
$foreign[] = strtolower($this->_table->getComponentName() . '_' . $column);
$foreign[] = strtolower(Doctrine::tableize($this->_table->getComponentName()) . '_' . $column);
}
$foreign = (count($foreign) > 1) ? $foreign : current($foreign);
......
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