Changeset 3892

Show
Ignore:
Timestamp:
02/24/08 01:26:18 (17 months ago)
Author:
baron314159
Message:

Fixes bug when updating a sub class using class table inheritance.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Connection/UnitOfWork.php

    r3884 r3892  
    562562                    $parentTable = $this->conn->getTable($class); 
    563563 
     564                    if (!array_key_exists($class, $dataSet)) { 
     565                        continue; 
     566                    } 
     567 
    564568                    $this->conn->update($this->conn->getTable($class), $dataSet[$class], $identifier); 
    565569                }