getAllowedItems() is called with two parameters. However
the second one is not in the function-definition and not used.
Change-Id: I69cd3c4362c36adc3e6f1e2bc1ae1ba7bfb38c77
Fixes: #34030
Releases: 4.4, 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9068
Reviewed-by: Philipp Gampe
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
$this->fileProcessor = t3lib_div::makeInstance('t3lib_basicFileFunctions');
$this->fileProcessor->init($GLOBALS['FILEMOUNTS'], $GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']);
- $this->allowedItems = $this->getAllowedItems('magic,plain,image', $this->buttonConfig);
+ $this->allowedItems = $this->getAllowedItems('magic,plain,image');
reset($this->allowedItems);
if (!in_array($this->act,$this->allowedItems)) {
$this->act = current($this->allowedItems);
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php']);
}
-?>
\ No newline at end of file
+?>