diff --git a/src/Form/FillPdfFormForm.php b/src/Form/FillPdfFormForm.php index 93dcba4da235c305fced6c8c01b269621a8bc965..01b56340ca0682e1d7cbd83848e251f04b9a76d9 100644 --- a/src/Form/FillPdfFormForm.php +++ b/src/Form/FillPdfFormForm.php @@ -552,7 +552,7 @@ class FillPdfFormForm extends ContentEntityForm { '#prefix' => $this->t("These keys couldn't be found in the new PDF:"), [ '#theme' => 'item_list', - '#items' => array_keys($non_matching_fields), + '#items' => $non_matching_fields, ], ]; $this->messenger()->addWarning($this->renderer->render($message));