diff --git a/Sources/Config.php b/Sources/Config.php index 3af0bc8730..d2e9c62bc4 100644 --- a/Sources/Config.php +++ b/Sources/Config.php @@ -978,7 +978,7 @@ public static function set(array $settings): void $GLOBALS['scripturl'] = &self::$scripturl; eval('function reloadSettings() { return ' . __CLASS__ . '::reloadModSettings(); }'); - eval('function updateSettings() { return ' . __CLASS__ . '::updateModSettings(); }'); + eval('function updateSettings(...$args) { return ' . __CLASS__ . '::updateModSettings(...$args); }'); eval('function get_auth_secret() { return ' . __CLASS__ . '::getAuthSecret(); }'); eval('function get_settings_defs() { return ' . __CLASS__ . '::getSettingsDefs(); }'); eval('function updateSettingsFile(...$args) { return ' . __CLASS__ . '::updateSettingsFile(...$args); }');