DMKEBUSINESSGMBH/typo3-mklog

PHP Warning: Undefined array key 1 in ConfigUtility::getCurrentRunId

rengaw83 opened this issue · 0 comments

PHP Warning: Undefined array key 1 in /var/www/html/htdocs/typo3conf/ext/mklog/Classes/Utility/ConfigUtility.php line 107

[$sec, $usec] = explode('.', (string) microtime(true));

On some environments or when milliseconds are equal to 0.0 (string) microtime(true) creates an nuber without a decimal and the trim returns an array with only one entry.