Compare commits
2
Commits
e68f55d1ea
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0e28591ff | ||
|
|
a3d24fbb18 |
+1
-1
@@ -193,7 +193,7 @@ trait EntityTrait {
|
|||||||
if ( null !== $compoundKeyFields = $this->resolveEntity()->getCompoundKeyFields() ) {
|
if ( null !== $compoundKeyFields = $this->resolveEntity()->getCompoundKeyFields() ) {
|
||||||
$loaded = false;
|
$loaded = false;
|
||||||
|
|
||||||
foreach ($compoundKeyFields->column as $column) {
|
foreach ((array) $compoundKeyFields->column as $column) {
|
||||||
$field = $this->resolveEntity()->field($column);
|
$field = $this->resolveEntity()->field($column);
|
||||||
|
|
||||||
if (! $field->allowsNull() ) {
|
if (! $field->allowsNull() ) {
|
||||||
|
|||||||
Reference in new issue
Block a user