fix PHP 8 error: array_merge() does not accept unknown named parameters

This commit is contained in:
Ralf Becker 2021-04-07 21:41:11 +02:00
parent c9a478c3d2
commit dfdb300f5f

View File

@ -241,7 +241,7 @@ class Bundle
$bundles['et2'] = array_diff($inc_mgr->get_included_files(), $bundles['api']);
self::urls($bundles['et2'], $max_mod['et2']);
$stock_files = call_user_func_array('array_merge', $bundles);
$stock_files = array_merge(...array_values($bundles));
// generate template and app bundles, if installed
foreach(array(