]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 10:05:35 +0000 (12:05 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 10:05:35 +0000 (12:05 +0200)
src/app/Magic/Fields/CubistMagicField.php

index 49b1c5712e05088ed70c055c7de2e72ec7f35a2d..c5d1fb8cbbe0d0ca2e126023fd4d1fe6cef82315 100644 (file)
@@ -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();
     }