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