From b1175fe152d556a3abd9af7c5861a1576e5894ac Mon Sep 17 00:00:00 2001 From: Mihai Amihailesei Date: Mon, 10 Jun 2019 15:48:56 +0300 Subject: [PATCH] Fixed contact list delete functionality. --- includes/Contact.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/Contact.class.php b/includes/Contact.class.php index 9221454..d06c014 100644 --- a/includes/Contact.class.php +++ b/includes/Contact.class.php @@ -27,15 +27,15 @@ function automation_list($params) { return $response; } - function delete_list($params) { + function delete_list($params, $post_data) { $request_url = "{$this->url}&api_action=contact_delete_list&api_output={$this->output}&{$params}"; - $response = $this->curl($request_url); + $response = $this->curl($request_url, $post_data); return $response; } - function delete($params) { + function delete($params, $post_data) { $request_url = "{$this->url}&api_action=contact_delete&api_output={$this->output}&{$params}"; - $response = $this->curl($request_url); + $response = $this->curl($request_url, $post_data); return $response; }