neat-php / object

Neat Object components
MIT License
4 stars 1 forks source link

Multiple unpersisted objects can't be added to a many relation #15

Closed baukevdw closed 5 years ago

baukevdw commented 5 years ago

Calling Many->add() twice with multiple unpersisted objects doesn't add the second, third object etc. This is caused by the has method that compares the id which is null.