From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 10:05:35 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2ba2735388e69109ce9172e6669de1cbc72f630c;p=cubist_cms-back.git #2783 --- diff --git a/src/app/Magic/Fields/CubistMagicField.php b/src/app/Magic/Fields/CubistMagicField.php index 49b1c57..c5d1fb8 100644 --- a/src/app/Magic/Fields/CubistMagicField.php +++ b/src/app/Magic/Fields/CubistMagicField.php @@ -41,7 +41,7 @@ class CubistMagicField public function __construct($attributes) { - $this->_attributes = array_merge($attributes, $this->getDefaultAttributes()); + $this->_attributes = array_merge($this->getDefaultAttributes(), $attributes); $this->init(); }