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