mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 09:05:57 +00:00
Merge pull request #206 from lekoala/patch-1
fix undefined index notice
This commit is contained in:
commit
3be003218c
@ -346,7 +346,7 @@ class HTTPBulkToolsResponse extends HTTPResponse
|
|||||||
$body['records']['failed'] = $this->failedRecords;
|
$body['records']['failed'] = $this->failedRecords;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($body['records']['success']) === 0) {
|
if (isset($body['records']['success']) && count($body['records']['success']) === 0) {
|
||||||
$body['isWarning'] = true;
|
$body['isWarning'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user