mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix cut & paste errors
This commit is contained in:
@@ -80,7 +80,6 @@ if ($enabled == 1) {
|
||||
$post = curl_init();
|
||||
set_curl_proxy($post);
|
||||
curl_setopt($post, CURLOPT_URL, $config['callback_post']);
|
||||
curl_setopt($post, CURLOPT_PROXY, count($submit));
|
||||
curl_setopt($post, CURLOPT_POST, count($submit));
|
||||
curl_setopt($post, CURLOPT_POSTFIELDS, $fields);
|
||||
curl_setopt($post, CURLOPT_RETURNTRANSFER, 1);
|
||||
@@ -91,7 +90,7 @@ if ($enabled == 1) {
|
||||
$fields = "uuid=$uuid";
|
||||
|
||||
$clear = curl_init();
|
||||
set_curl_proxy($post);
|
||||
set_curl_proxy($clear);
|
||||
curl_setopt($clear, CURLOPT_URL, $config['callback_clear']);
|
||||
curl_setopt($clear, CURLOPT_POST, count($clear));
|
||||
curl_setopt($clear, CURLOPT_POSTFIELDS, $fields);
|
||||
|
||||
Reference in New Issue
Block a user