Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
t3o_membership
Commits
9f1f42a9
Commit
9f1f42a9
authored
Jun 27, 2015
by
Thomas Löffler
Browse files
[BUGFIX] Adds casting
parent
9dc4b029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Task/ImportMembersAdditionalFieldProvider.php
View file @
9f1f42a9
...
...
@@ -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'
)
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment