From d568b24303d22761525cba633fa0bd6e6c96f8e9 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 16:50:52 +0200 Subject: [PATCH] #2783 --- src/app/Magic/Fields/Field.php | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.39.5