Index: typo3/file_upload.php =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/file_upload.php,v retrieving revision 1.15 diff -u -r1.15 file_upload.php --- typo3/file_upload.php 18 Apr 2005 10:27:50 -0000 1.15 +++ typo3/file_upload.php 19 Oct 2005 17:37:04 -0000 @@ -108,6 +108,9 @@ $this->target = t3lib_div::_GP('target'); $this->returnUrl = t3lib_div::_GP('returnUrl'); + if(empty($this->number) && $GLOBALS['BE_USER']->getTSConfig('options.defaultFileUploads')) { + $this->number = $GLOBALS['BE_USER']->getTSConfig('options.defaultFileUploads'); + } // Init basic-file-functions object: $this->basicff = t3lib_div::makeInstance('t3lib_basicFileFunctions'); $this->basicff->init($GLOBALS['FILEMOUNTS'],$TYPO3_CONF_VARS['BE']['fileExtensions']);