mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #501] [MERGED] Allow 0 id for Entity #8291
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/501
Author: @jeremymarc
Created: 11/5/2012
Status: ✅ Merged
Merged: 11/5/2012
Merged by: @guilhermeblanco
Base:
master← Head:patch-1📝 Commits (2)
8447744Allow 0 id for Entity26dd533Compare to null instead of using isset📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/AbstractQuery.php(+1 -1)📄 Description
When using a 0 id, it's throwing InvalidArgumentException (Binding entities to query parameters only allowed for entities that have an identifier.)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.