mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Merge pull request #50 from silverstripe-iterators/pulls/array_key_exists-sortTable
Fixed array_key_exists() usage in OrderableRows
This commit is contained in:
commit
db94111d8c
@ -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…
Reference in New Issue
Block a user