Changeset 5298
- Timestamp:
- 12/17/08 21:14:01 (7 months ago)
- Location:
- branches
- Files:
-
- 2 added
- 2 modified
-
1.0/lib/Doctrine/Hydrator/RecordDriver.php (modified) (1 diff)
-
1.0/tests/Ticket/1713TestCase.php (added)
-
1.1/lib/Doctrine/Hydrator/RecordDriver.php (modified) (1 diff)
-
1.1/tests/Ticket/1713TestCase.php (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Hydrator/RecordDriver.php
r5015 r5298 160 160 $inheritanceMap = $table->getOption('inheritanceMap'); 161 161 list($key, $value) = each($inheritanceMap); 162 $key = $this->_tables[$component]->getFieldName($key); 162 163 if ( ! isset($data[$key]) || $data[$key] != $value) { 163 164 continue; -
branches/1.1/lib/Doctrine/Hydrator/RecordDriver.php
r5016 r5298 160 160 $inheritanceMap = $table->getOption('inheritanceMap'); 161 161 list($key, $value) = each($inheritanceMap); 162 $key = $this->_tables[$component]->getFieldName($key); 162 163 if ( ! isset($data[$key]) || $data[$key] != $value) { 163 164 continue;