From 957c308e49dd2b9e0f94b1e6180f69c8ac4a00df Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 25 Apr 2018 18:47:15 +0200 Subject: [PATCH] Removed potentially harmfull line --- RestControllers/ConversationsController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/RestControllers/ConversationsController.php b/RestControllers/ConversationsController.php index 32f980b..6f34c6a 100644 --- a/RestControllers/ConversationsController.php +++ b/RestControllers/ConversationsController.php @@ -359,7 +359,6 @@ class ConversationsController{ if(!isset($_POST['last_message_id'])) Rest_fatal_error(400, "Please specify the ID of the last message you've got!"); - $conversationID = toInt($_POST['conversationID']); $last_message_id = toInt($_POST['last_message_id']); //Check if the current user can access the conversation