Skip to content

Commit

Permalink
no tryLoad in Multiline, SQL is very/unusable broken
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Aug 20, 2022
1 parent 68cd16f commit 690f07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Control/Multiline.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 690f07b

Please sign in to comment.