mirror of
https://github.com/moudsen/mailGraph
synced 2025-01-30 20:01:38 +01:00
v2.16 - Fixed code type for detection of ACKNOWLEDGES information from event.get
This commit is contained in:
parent
ededded428
commit
a7196f8bc5
@ -871,7 +871,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// --- Collect and attach acknowledge messages for this event
|
// --- Collect and attach acknowledge messages for this event
|
||||||
if (sizeof($thisEvent['result'][0]['acknowledges']>0)) {
|
if (isset($thisEvent['result'][0]['acknowledges'])) {
|
||||||
foreach($thisEvent['result'][0]['acknowledges'] as $aCount=>$anAck) {
|
foreach($thisEvent['result'][0]['acknowledges'] as $aCount=>$anAck) {
|
||||||
$mailData['ACKNOWLEDGES'][$aCount] = $anAck;
|
$mailData['ACKNOWLEDGES'][$aCount] = $anAck;
|
||||||
$mailData['ACKNOWLEDGES'][$aCount]['_clock'] = zabbixTStoString($anAck['clock']);
|
$mailData['ACKNOWLEDGES'][$aCount]['_clock'] = zabbixTStoString($anAck['clock']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user