mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Added op=pv
This commit is contained in:
@@ -21,8 +21,8 @@
|
|||||||
* @subpackage Alerts
|
* @subpackage Alerts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$data = array("msg" => $obj['title'], "to" => implode(',',$opts['to']), "h" => $opts['token'], "u" => $opts['user']);
|
$data = array("u" => $opts['user'], "h" => $opts['token'], "to" => implode(',',$opts['to']), "msg" => $obj['title'],);
|
||||||
$url = $opts['url'].'&'.http_build_query($data);
|
$url = $opts['url'].'&op=pv&'.http_build_query($data);
|
||||||
$curl = curl_init($url);
|
$curl = curl_init($url);
|
||||||
|
|
||||||
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "GET");
|
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "GET");
|
||||||
|
|||||||
Reference in New Issue
Block a user