FIX : travis
This commit is contained in:
parent
47e1d4f867
commit
e00dcb4f73
@ -479,7 +479,7 @@ function DisplayPositionList()
|
|||||||
} else {
|
} else {
|
||||||
$sql .= " WHERE 1 = 1";
|
$sql .= " WHERE 1 = 1";
|
||||||
}
|
}
|
||||||
$sql .= " AND t.fk_job = " . $fk_job . " ";
|
$sql .= " AND t.fk_job = " . ((int) $fk_job) . " ";
|
||||||
|
|
||||||
foreach ($search as $key => $val) {
|
foreach ($search as $key => $val) {
|
||||||
if (array_key_exists($key, $object->fields)) {
|
if (array_key_exists($key, $object->fields)) {
|
||||||
|
|||||||
@ -627,7 +627,7 @@ if ($action != "create" && $action != "edit") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($id)) {
|
if (!empty($id)) {
|
||||||
$sql .= " AND fk_skill = " . $id . " ";
|
$sql .= " AND fk_skill = " . ((int) $id) . " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
// if total of record found is smaller than limit, no need to do paging and to restart another select with limits set.
|
// if total of record found is smaller than limit, no need to do paging and to restart another select with limits set.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user