- Quickfix on compound keys

This commit is contained in:
mcndave committed 2026-12-04 10:07:27 -05:00
1 parent 1c03860fc4
commit a3d24fbb18
1 file changed
+1 -1
+1 -1
View File
@@ -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() ) {