Commit cac04a0a authored by zYne's avatar zYne

Fixes #190

parent 76b3f2c9
......@@ -371,6 +371,13 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
if(empty($row))
continue;
foreach($this->tables as $k => $t) {
if ( ! strcasecmp($key, $k))
$key = $k;
}
if ( !isset($this->tables[$key]) )
throw new Doctrine_Exception("No table named $key found.");
$ids = $this->tables[$key]->getIdentifier();
$name = $key;
......
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