Follow state of a conversation can be updated

This commit is contained in:
Pierre
2017-06-18 10:07:52 +02:00
parent b1e340e0c1
commit 952779f527
7 changed files with 84 additions and 15 deletions

View File

@ -21,7 +21,7 @@ class searchController
Rest_fatal_error(400, "Please specify search terms");
//Check for search limit
$searchLimit = (isset($_POST['searchLimit']) ? $_POST['searchLimit']*1 : 5);
$searchLimit = (isset($_POST['searchLimit']) ? toInt($_POST['searchLimit']) : 5);
//Check the limit
if($searchLimit < 1 || $searchLimit > 25)