From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 14:58:03 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1f4b9025543e657fc529a2a6a7e5977669eb4880;p=cubist_cms-back.git #2783 --- 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');