- Quickfix on compound keys
This commit is contained in:
1 parent
1c03860fc4
commit
a3d24fbb18
1 file changed
+1
-1
+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