diff --git a/cat/concordia_search.php_pattern b/cat/concordia_search.php_pattern index b4a5eb7..c1d987c 100644 --- a/cat/concordia_search.php_pattern +++ b/cat/concordia_search.php_pattern @@ -1,7 +1,8 @@ "concordiaSearch","tmId" => intval($_GET["tmId"]),"pattern" => $_GET["pattern"]); +$inputSentence = $_GET["pattern"]; +$data = array("operation" => "concordiaSearch","tmId" => intval($_GET["tmId"]),"pattern" => $inputSentence); // use key 'http' even if you send the request to https://... $options = array( @@ -33,7 +34,6 @@ $data = json_decode($response);