From cceb2b12493b7ced325afc66d31ad5f4ece44ede Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 3 Apr 2015 17:04:59 +1030 Subject: [PATCH] Fix attribute serialisation event mutability --- framework/core/src/Api/Events/SerializeAttributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Api/Events/SerializeAttributes.php b/framework/core/src/Api/Events/SerializeAttributes.php index 0c44efc11..53faf719f 100644 --- a/framework/core/src/Api/Events/SerializeAttributes.php +++ b/framework/core/src/Api/Events/SerializeAttributes.php @@ -12,6 +12,6 @@ class SerializeAttributes { $this->serializer = $serializer; $this->model = $model; - $this->attributes = $attributes; + $this->attributes = &$attributes; } }