Removed potentially harmfull line

This commit is contained in:
Pierre 2018-04-25 18:47:15 +02:00
parent 55becbe2e9
commit 957c308e49

View File

@ -359,7 +359,6 @@ class ConversationsController{
if(!isset($_POST['last_message_id'])) if(!isset($_POST['last_message_id']))
Rest_fatal_error(400, "Please specify the ID of the last message you've got!"); 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']); $last_message_id = toInt($_POST['last_message_id']);
//Check if the current user can access the conversation //Check if the current user can access the conversation