You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Add an array to the dynamic configuration
*
* @param array $new
*/
public static function merge($new)
{
$config = self::load();
\yii\helpers\ArrayHelper::merge($new);
self::save($config);
}
throws Error:
PHP Warning – yii\base\ErrorException
Missing argument 2 for yii\helpers\BaseArrayHelper::merge(), called in /var/www/humhub/protected/humhub/libs/DynamicConfig.php on line 32 and defined
Should be:
/**
* Add an array to the dynamic configuration
*
* @param array $new
*/
public static function merge($new)
{
$config = \yii\helpers\ArrayHelper::merge(self::load(), $new);
self::save($config);
}
The text was updated successfully, but these errors were encountered:
Function Body:
throws Error:
Should be:
The text was updated successfully, but these errors were encountered: