Bug #16783
closedFile Upload does not recognize BEUser - Option "defaultFileUploads"
0%
Description
If I use in UserTSconfig
options.defaultFileUploads = 5
still only one file upload is shown when uploading a file. The option is not taken into account since it is applied wrong in the code.
The patch fixes this small bug in typo3/file_upload.php
That's why it is not working:
$GLOBALS['BE_USER']->getTSConfig('options.defaultFileUploads')
returns an array in TYPO3 4.0 with
array (value => '5', properties => '')
and not an integer as we needed it. A simple check if it is an array or an integer and then a correct use should help here. All this is added in the patch.
(issue imported from #M4643)
Files
Updated by Thomas Hempel almost 18 years ago
Where schould this take effect?
I patched the file but I always get the dfault number of upload fields. I looked in the fileadmin and in the "select image" dialog.
Greets,
Thomas
Updated by Benni Mack almost 18 years ago
Hey Thomas.
As I read on the core-list, the problem exists and the patch really solves it for you too?
Updated by Thomas Hempel almost 18 years ago
It seems I made a mistake with patching the file. Today it works and fixes this issue.
Greets,
Thomas