From 9ac422fcf5ddb6d27ae1a57ea84c301c35a21d8e Mon Sep 17 00:00:00 2001
From: Oliver Bartsch <bo@cedev.de>
Date: Wed, 11 Sep 2024 09:56:17 +0200
Subject: [PATCH] [BUGFIX] Fix wrong array key of default webhook type

Resolves: #104891
Releases: main, 12.4
Change-Id: I7431cd142a1b92e7ca14dcfe1b5720f9a627be04
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86002
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Jochen Roth <rothjochen@gmail.com>
Tested-by: Jochen Roth <rothjochen@gmail.com>
Reviewed-by: Nikita Hovratov <nikita.h@live.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Andreas Kienast <a.fernandez@scripting-base.de>
Tested-by: Nikita Hovratov <nikita.h@live.de>
Tested-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Andreas Kienast <a.fernandez@scripting-base.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
---
 typo3/sysext/webhooks/Configuration/TCA/sys_webhook.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/webhooks/Configuration/TCA/sys_webhook.php b/typo3/sysext/webhooks/Configuration/TCA/sys_webhook.php
index 7f63089f6499..23bfa3e78397 100644
--- a/typo3/sysext/webhooks/Configuration/TCA/sys_webhook.php
+++ b/typo3/sysext/webhooks/Configuration/TCA/sys_webhook.php
@@ -64,7 +64,7 @@ return [
                 'items' => [
                     [
                         'label' => 'LLL:EXT:webhooks/Resources/Private/Language/locallang_db.xlf:sys_webhook.webhook_type.select',
-                        'vaule' => '',
+                        'value' => '',
                     ],
                 ],
                 'itemsProcFunc' => \TYPO3\CMS\Webhooks\Tca\ItemsProcFunc\WebhookTypesItemsProcFunc::class . '->getWebhookTypes',
-- 
GitLab