From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 14:50:52 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d568b24303d22761525cba633fa0bd6e6c96f8e9;p=cubist_cms-back.git #2783 --- diff --git a/src/app/Magic/Fields/Field.php b/src/app/Magic/Fields/Field.php index c079819..c4c2414 100644 --- a/src/app/Magic/Fields/Field.php +++ b/src/app/Magic/Fields/Field.php @@ -29,6 +29,7 @@ class Field throw new Exception('You must specify a field name'); } $class = static::_getClass($attributes['type']); + unset($attributes['type']); return new $class($attributes); }