mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 15:05:39 +00: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();
|
$extra = $list->getExtraFields();
|
||||||
$table = $list->getJoinTable();
|
$table = $list->getJoinTable();
|
||||||
|
|
||||||
if(array_key_exists($field, $extra)) {
|
if($extra && array_key_exists($field, $extra)) {
|
||||||
return $table;
|
return $table;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user