Now I remembered I had a similar problem like this, while ago:
I have 1:1 relationship between client and credit. Client is parent and
credit is owning side.
I had $client object loaded already then I have:
$credit = $client->getCredit;
A client may not have credit so immediately after line above I have:
If ($credit === null)
But even if client had no credit it does not go to this if statement but to
else clause. It seems when $client is loaded, it does not consider $credit
as null even if that client has no credit.
With the problem described in original post of this thread, can't we assume
there might be a bug?

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to