From d9a2b88852b767cd1b95e73e447e8d03de670b37 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Wed, 15 Feb 2017 05:58:44 +1100 Subject: [PATCH] Pass records by reference to overcome halting event issue Refs https://github.com/octobercms/october/pull/1853 --- modules/backend/widgets/Lists.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/backend/widgets/Lists.php b/modules/backend/widgets/Lists.php index 61c482478..29b80b0bc 100644 --- a/modules/backend/widgets/Lists.php +++ b/modules/backend/widgets/Lists.php @@ -524,11 +524,10 @@ class Lists extends WidgetBase $records = $model->get(); } - /* * Extensibility */ - if ($event = $this->fireSystemEvent('backend.list.extendRecords', [$records])) { + if ($event = $this->fireSystemEvent('backend.list.extendRecords', [&$records])) { $records = $event; }