From 1f4b9025543e657fc529a2a6a7e5977669eb4880 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 16:58:03 +0200 Subject: [PATCH] #2783 --- src/app/Magic/Fields/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Magic/Fields/Field.php b/src/app/Magic/Fields/Field.php index c4c2414..41a3092 100644 --- a/src/app/Magic/Fields/Field.php +++ b/src/app/Magic/Fields/Field.php @@ -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'); -- 2.39.5