symfony/symfony — pull request #8505 by jaugustin (2013-07-17 07:38:35+00:00)
Title: [bridge] [propel1] [ModelChoiceList] fix issue #8499 call getPrimaryKey on a non object

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #8499
| License | MIT
| Doc PR | no

This fix an issue #8499 introduced by the PR #8223

CC @willdurand @havvg