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

Michael Stucki michael at typo3.org
Tue Jan 23 17:46:14 CET 2007


Committed to TYPO3_4-0 and Trunk.

- michael

Michael Stucki wrote:

> 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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list