mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 15:05:39 +00:00
Fixed array_key_exists() usage in OrderableRows
This commit is contained in:
parent
6727eb3a1d
commit
793f6d96ec
@ -63,7 +63,7 @@ class GridFieldOrderableRows extends RequestHandler implements
|
||||
$extra = $list->getExtraFields();
|
||||
$table = $list->getJoinTable();
|
||||
|
||||
if(array_key_exists($field, $extra)) {
|
||||
if($extra && array_key_exists($field, $extra)) {
|
||||
return $table;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user