From d1fcf61266ebb1ecafe338595ea829f3f20454e9 Mon Sep 17 00:00:00 2001 From: Knut Behrends Date: Tue, 26 Aug 2014 11:31:04 +0200 Subject: [PATCH] t3lib_div::devLog() expects array as last param simple one-line fix: t3lib_div::devLog() expects array as last param, but this line passed in a scalar value --- class.tx_externalimport_importer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class.tx_externalimport_importer.php b/class.tx_externalimport_importer.php index e098015..303a0cf 100644 --- a/class.tx_externalimport_importer.php +++ b/class.tx_externalimport_importer.php @@ -80,7 +80,7 @@ public function __construct() { if (isset($this->extConf['timelimit']) && ($this->extConf['timelimit'] > -1)) { set_time_limit($this->extConf['timelimit']); if ($this->extConf['debug'] || TYPO3_DLOG) { - t3lib_div::devLog($GLOBALS['LANG']->getLL('timelimit'), $this->extKey, 0, $this->extConf['timelimit']); + t3lib_div::devLog($GLOBALS['LANG']->getLL('timelimit'), $this->extKey, 0, array('timelimit' => $this->extConf['timelimit'])); } } } @@ -1631,4 +1631,4 @@ public function sendMail($subject, $body) { if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/external_import/class.tx_externalimport_importer.php']) { include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/external_import/class.tx_externalimport_importer.php']); } -?> \ No newline at end of file +?>