Skip to content

Commit e27793f

Browse files
committed
Fix important pb with manyToMany creation
manyToMany detection
1 parent 0996187 commit e27793f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Ubiquity/orm/creator/ModelsCreator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ protected function createManyToMany() {
146146
$class2->addManyToMany($table1Member, $manyToOne1->className, $table2Member, $table, $joinTable2, $joinTable1);
147147
$class2->removeOneToManyMemberByClassAssociation($class->getName());
148148
unset($this->classes[$table]);
149-
} else {
150-
return;
151149
}
152150
}
153151
}

0 commit comments

Comments
 (0)