Commit 9f1f42a9 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[BUGFIX] Adds casting

parent 9dc4b029
......@@ -30,13 +30,13 @@ class Tx_T3oMembership_Task_ImportMembers_AdditionalFieldProvider implements tx_
$additionalFields = array();
// adds field for setting file path for CSV file to import
$additionalFields['importFile'] = array(
'code' => '<input type="text" name="tx_scheduler[importFile]" value="' . $task->getImportFile() . '" />',
'code' => '<input type="text" name="tx_scheduler[importFile]" value="' . htmlspecialchars($task->getImportFile()) . '" />',
'label' => Tx_Extbase_Utility_Localization::translate('importFile', 't3o_membership')
);
// adds field for setting storage PID
$additionalFields['storagePid'] = array(
'code' => '<input type="text" name="tx_scheduler[storagePid]" value="' . $task->getMembershipStoragePid() . '" />',
'code' => '<input type="text" name="tx_scheduler[storagePid]" value="' . (int) $task->getMembershipStoragePid() . '" />',
'label' => Tx_Extbase_Utility_Localization::translate('storagePid', 't3o_membership')
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment