mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
key_exists deprecated use array_key_exists
key_exists deprecated use array_key_exists
This commit is contained in:
parent
79cead517f
commit
1730461da0
@ -80,7 +80,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
|
||||
*/
|
||||
function setConfig($reference, $value)
|
||||
{
|
||||
if (!key_exists($reference, $this->config) )
|
||||
if (!array_key_exists($reference, $this->config) )
|
||||
{
|
||||
user_error("Unknown option reference: $reference", E_USER_ERROR);
|
||||
}
|
||||
@ -375,4 +375,4 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
|
||||
|
||||
user_error("Unable to find matching bulk action handler for ".$request->remaining().'.', E_USER_ERROR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ class GridFieldBulkUpload implements GridField_HTMLProvider, GridField_URLHandle
|
||||
$this->setUfConfig($reference, $value);
|
||||
}
|
||||
}
|
||||
else if (!key_exists($reference, $this->config) ) {
|
||||
else if (!array_key_exists($reference, $this->config) ) {
|
||||
user_error("Unknown option reference: $reference", E_USER_ERROR);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user