diff --git a/LibreNMS/Alert/Transport/Victorops.php b/LibreNMS/Alert/Transport/Victorops.php index ce62d09a0d..171888d2c8 100644 --- a/LibreNMS/Alert/Transport/Victorops.php +++ b/LibreNMS/Alert/Transport/Victorops.php @@ -41,7 +41,7 @@ class Victorops extends Transport $url = $opts['url']; $protocol = array( - 'entity_id' => ($obj['id'] ? $obj['id'] : $obj['uid']), + 'entity_id' => strval($obj['id'] ? $obj['id'] : $obj['uid']), 'state_start_time' => strtotime($obj['timestamp']), 'entity_display_name' => $obj['title'], 'state_message' => $obj['msg'],