1
0
mirror of synced 2025-01-18 06:21:40 +03:00

removed array_unique in Hydrate/Record and added test to run.php fixes #403

This commit is contained in:
meus 2007-07-21 16:35:04 +00:00
parent 2865efcd08
commit eca9f79dc8
2 changed files with 3 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class Doctrine_Hydrate_Record extends Doctrine_Object
public function flush()
{
// take snapshots from all initialized collections
foreach (array_unique($this->_collections) as $key => $coll) {
foreach ($this->_collections as $key => $coll) {
$coll->takeSnapshot();
}
foreach ($this->_tables as $table) {

View File

@ -176,6 +176,8 @@ $test->addTestCase(new Doctrine_Relation_TestCase());
//$test->addTestCase(new Doctrine_Relation_Access_TestCase());
//$test->addTestCase(new Doctrine_Relation_ManyToMany_TestCase());
$test->addTestCase(new Doctrine_Relation_ManyToMany2_TestCase());
$test->addTestCase(new Doctrine_Relation_OneToMany_TestCase());