]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 14:58:03 +0000 (16:58 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 14:58:03 +0000 (16:58 +0200)
src/app/Magic/Fields/Field.php

index c4c241495f0eff743e6d804b54fce3699087df41..41a3092c4103248b81307591597977e795f3c2d6 100644 (file)
@@ -20,7 +20,7 @@ class Field
      * @return Field
      * @throws Exception
      */
-    public static function getInstance($attributes)
+    public static function getInstance(&$attributes)
     {
         if (!isset($attributes['type'])) {
             throw new Exception('You must specify a field type');