From 69b42225c92597829443155474c2452cc67d376d Mon Sep 17 00:00:00 2001 From: Georg Ringer <georg.ringer@gmail.com> Date: Thu, 28 May 2020 06:54:44 +0200 Subject: [PATCH] [BUGFIX] Fix typo in exception of TcaRadioItems Resolves: #91501 Releases: master, 10.4, 9.5 Change-Id: I7b77a3ee8aceac2cbdb6f3d4e0a02930b66eb863 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64591 Tested-by: Josef Glatz <josefglatz@gmail.com> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Daniel Haupt <mail@danielhaupt.de> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Josef Glatz <josefglatz@gmail.com> Reviewed-by: Daniel Haupt <mail@danielhaupt.de> Reviewed-by: Benni Mack <benni@typo3.org> --- .../backend/Classes/Form/FormDataProvider/TcaRadioItems.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php index ffb3b91fe57c..df49733fddc9 100644 --- a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php +++ b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaRadioItems.php @@ -55,7 +55,7 @@ class TcaRadioItems extends AbstractItemProvider implements FormDataProviderInte foreach ($items as $itemKey => $itemValue) { if (!is_array($itemValue)) { throw new \UnexpectedValueException( - 'Item ' . $itemKey . ' of field ' . $fieldName . ' of TCA table ' . $result['tableName'] . ' is no array as expected', + 'Item ' . $itemKey . ' of field ' . $fieldName . ' of TCA table ' . $result['tableName'] . ' is not an array as expected', 1438607163 ); } -- GitLab