Changeset 5043

Show
Ignore:
Timestamp:
10/02/08 20:47:32 (22 months ago)
Author:
jwage
Message:

[1.1] fixes #632

Location:
branches/1.1/lib/Doctrine
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1/lib/Doctrine/Collection.php

    r5032 r5043  
    818818     * @return Doctrine_Collection 
    819819     */ 
    820     public function save(Doctrine_Connection $conn = null) 
     820    public function save(Doctrine_Connection $conn = null, $processDiff = true) 
    821821    { 
    822822        if ($conn == null) { 
     
    829829            $conn->transaction->addCollection($this); 
    830830 
    831             $this->processDiff(); 
     831            if ($processDiff) { 
     832                $this->processDiff(); 
     833            } 
    832834 
    833835            foreach ($this->getData() as $key => $record) { 
  • branches/1.1/lib/Doctrine/Connection/UnitOfWork.php

    r5019 r5043  
    438438 
    439439            if ($rel instanceof Doctrine_Relation_Association) { 
    440                 $v->save($this->conn); 
     440                $v->save($this->conn, false); 
    441441 
    442442                $assocTable = $rel->getAssociationTable();