diff --git a/includes/hooks/WHMCS-Discord-Notifications.php b/includes/hooks/WHMCS-Discord-Notifications.php index 219a8f6..484efb4 100644 --- a/includes/hooks/WHMCS-Discord-Notifications.php +++ b/includes/hooks/WHMCS-Discord-Notifications.php @@ -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']);