Fixed api
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
83a52ecbe3
commit
d11bf9de20
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ else if ($action == "get-job" && isset($_POST["status"]) && $_POST["status"] !=
|
|||
get_lock($con);
|
||||
$sql = "SELECT id FROM tile WHERE status_id = (SELECT id FROM status WHERE name = ?) ORDER BY parent_id LIMIT 1";
|
||||
$stmt = $con->prepare($sql);
|
||||
$stmt->bind_param("s", $_POST["type"]);
|
||||
$stmt->bind_param("s", $_POST["status"]);
|
||||
$stmt->execute();
|
||||
$result = $stmt->get_result();
|
||||
$stmt->close();
|
||||
|
|
Loading…
Reference in a new issue