[TYPO3-core] RFC: Bug 4643: File Upload does not recognize BEUser - Option "defaultFileUploads"

Michael Stucki michael at typo3.org
Mon Jan 22 20:02:06 CET 2007


This is a SVN patch request.

Problem:
If you write this in UserTSconfig, it won't work:

 options.defaultFileUploads = 5
 
There is still only one file upload field available. The option is not taken 
into account since it is applied wrong in the code.

Solution:
Instead of
 $GLOBALS['BE_USER']->getTSConfig('options.defaultFileUploads')
(returns an array) call
 $GLOBALS['BE_USER']->getTSConfigVal('options.defaultFileUploads')
(returns the value).

Bugtracker reference:
http://bugs.typo3.org/view.php?id=4643

Branches:
TYPO3_4-0 & Trunk

Comments:
This issue was solved by Benjamin Mack.

- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_4643.diff
Type: text/x-diff
Size: 892 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070122/b2b12a78/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070122/b2b12a78/attachment-0001.pgp 


More information about the TYPO3-team-core mailing list