From: Vincent Vanwaelscappel Date: Fri, 24 May 2019 15:02:15 +0000 (+0200) Subject: #2783 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=94322c950ef060bff6a92d328aefe7f3e208da38;p=cubist_cms-back.git #2783 --- diff --git a/src/app/Magic/Fields/Field.php b/src/app/Magic/Fields/Field.php index 41a3092..c4c2414 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');