Skip to content

Commit

Permalink
Fixed #1457: DynamicConfig merge broken
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Feb 16, 2016
1 parent 49d6728 commit 0c3765b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions protected/humhub/libs/DynamicConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class DynamicConfig extends \yii\base\Object
*/
public static function merge($new)
{
$config = self::load();
\yii\helpers\ArrayHelper::merge($new);
$config = \yii\helpers\ArrayHelper::merge(self::load(), $new);
self::save($config);
}

Expand Down

0 comments on commit 0c3765b

Please sign in to comment.