From 9ff62d02b7e47aca1b2e901e1ff3b336283f10d3 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 7 Mar 2015 11:34:19 +1100 Subject: [PATCH] Minor clean of #986 --- modules/backend/widgets/Lists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/backend/widgets/Lists.php b/modules/backend/widgets/Lists.php index a35dadc4f..3adb8f82e 100644 --- a/modules/backend/widgets/Lists.php +++ b/modules/backend/widgets/Lists.php @@ -763,11 +763,11 @@ class Lists extends WidgetBase /* * Extensibility */ - if (!is_null($response = Event::fire('backend.list.overrideColumnValue', [$this, $record, $column, $value], true))) { + if (($response = Event::fire('backend.list.overrideColumnValue', [$this, $record, $column, $value], true)) !== null) { $value = $response; } - if (!is_null($response = $this->fireEvent('list.overrideColumnValue', [$record, $column, $value], true))) { + if (($response = $this->fireEvent('list.overrideColumnValue', [$record, $column, $value], true)) !== null) { $value = $response; }