Commit c8dd78755ee75442c494edbeda89c7f8df4ba819
1 parent
b84e2792
Exists in
master
and in
111 other branches
correct input data
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
php/rest/getStatus.php
... | ... | @@ -10,9 +10,9 @@ |
10 | 10 | require_once '../config.php'; |
11 | 11 | |
12 | 12 | if (!key_exists("id", $_GET)) { |
13 | - $result = array('success' => false, 'message' => "You must provide a job id."); | |
13 | + $result = array('success' => false, 'message' => "You must provide a job id"); | |
14 | 14 | } else { |
15 | 15 | $amda_ws = new WebServer(); |
16 | - $result = $amda_ws->getStatus($_GET['id']); | |
16 | + $result = $amda_ws->getStatus($_GET); | |
17 | 17 | } |
18 | 18 | echo json_encode($result); |
19 | 19 | \ No newline at end of file |
... | ... |