Closed brunogaspar closed 8 years ago
@dannyweeks could you look into this? 😟 I am not free for next 2 weeks.
@znck Pretty swamped at the moment too buddy but will look into as soon as I get a chance!
query uses where id = $this->id
and when it is null
it seems to return a random/last result.
i wonder, why would $this->id
be needed if you already have $this->intermediateModel_id
Hello,
Didn't had the chance to look into a fix as of yet, maybe you know how to fix it more quickly heh
Here's the model i have
If i do the following:
It returns a manufacturer object, which is wrong, it should return
null
since it's a fresh, not saved, model.