Actions
Bug #16783
closedFile Upload does not recognize BEUser - Option "defaultFileUploads"
Start date:
2006-12-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions