[BUGFIX] Fix Task examples in scheduler
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Classes / Example / TestTaskAdditionalFieldProvider.php
index a6b8969..e43f382 100644 (file)
@@ -55,7 +55,7 @@ class TestTaskAdditionalFieldProvider implements \TYPO3\CMS\Scheduler\Additional
                }
                // Write the code for the field
                $fieldID = 'task_email';
-               $fieldCode = '<input type="text" name="TYPO3\\CMS\\Scheduler\\Scheduler[email]" id="' . $fieldID . '" value="' . htmlspecialchars($taskInfo['email']) . '" size="30" />';
+               $fieldCode = '<input type="text" name="tx_scheduler[email]" id="' . $fieldID . '" value="' . htmlspecialchars($taskInfo['email']) . '" size="30" />';
                $additionalFields = array();
                $additionalFields[$fieldID] = array(
                        'code' => $fieldCode,