From: Philipp Gampe Date: Sat, 12 Oct 2013 13:22:49 +0000 (+0200) Subject: [BUGFIX] Follow-up: Description-field for scheduler-jobs X-Git-Tag: TYPO3_6-2-0beta1~86 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/6e04328de543eac21e0610b3c74c81c61b49fe59?ds=sidebyside [BUGFIX] Follow-up: Description-field for scheduler-jobs Add the new field to the list of fields to be save during task creation. Resolves: #52696 Releases: 6.2 Change-Id: I4c281535a22318a6a742b25c6196a511bc620e24 Reviewed-on: https://review.typo3.org/24630 Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe --- diff --git a/typo3/sysext/scheduler/Classes/Scheduler.php b/typo3/sysext/scheduler/Classes/Scheduler.php index 222824880810..59abb63ec866 100644 --- a/typo3/sysext/scheduler/Classes/Scheduler.php +++ b/typo3/sysext/scheduler/Classes/Scheduler.php @@ -69,6 +69,7 @@ class Scheduler implements \TYPO3\CMS\Core\SingletonInterface { $fields = array( 'crdate' => $GLOBALS['EXEC_TIME'], 'disable' => $task->isDisabled(), + 'description' => $task->getDescription(), 'serialized_task_object' => 'RESERVED' ); $result = $GLOBALS['TYPO3_DB']->exec_INSERTquery('tx_scheduler_task', $fields);