mirror of
https://github.com/metallicgloss/WHMCS-Discord-Notifications.git
synced 2025-12-19 14:59:18 +00:00
Corrected error for script.
This commit is contained in:
@@ -255,7 +255,7 @@ add_hook('TicketUserReply', 1, function($vars) {
|
||||
);
|
||||
processNotification($dataPacket);
|
||||
});
|
||||
function processNotification($dataPacket, $discordWebHookURL) {
|
||||
function processNotification($dataPacket) {
|
||||
$dataString = json_encode($dataPacket);
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_URL, $GLOBALS['discordWebHookURL']);
|
||||
|
||||
Reference in New Issue
Block a user