diff --git a/src/Form/Control/Multiline.php b/src/Form/Control/Multiline.php index 5a004d1297..32b95019ea 100644 --- a/src/Form/Control/Multiline.php +++ b/src/Form/Control/Multiline.php @@ -787,7 +787,7 @@ private function getExpressionValues(Model $model): array foreach ($dummyFields as $field) { $dummyModel->addExpression($field['name'], ['expr' => $field['expr'], 'type' => $model->getField($field['name'])->type]); } - $values = $dummyModel->tryLoadAny()->get(); + $values = $dummyModel->loadAny()->get(); unset($values[$model->idField]); foreach ($values as $f => $value) {