Enable displaying jsonable properties in backend lists (#2995)
This commit is contained in:
parent
5a417d72d3
commit
2cc492f7dc
|
|
@ -232,6 +232,9 @@ class ListColumn
|
|||
$result = $result->{$key};
|
||||
}
|
||||
else {
|
||||
if (is_array($result) && array_key_exists($key, $result)) {
|
||||
return $result[$key];
|
||||
}
|
||||
if (!isset($result->{$key})) {
|
||||
return $default;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue