mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Minor clean of #986
This commit is contained in:
parent
ff0ca0ef6f
commit
9ff62d02b7
@ -763,11 +763,11 @@ class Lists extends WidgetBase
|
|||||||
/*
|
/*
|
||||||
* Extensibility
|
* 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;
|
$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;
|
$value = $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user