FIX : travis

This commit is contained in:
Gauthier PC portable 024
2021-10-08 09:48:17 +02:00
parent 47e1d4f867
commit e00dcb4f73
2 changed files with 2 additions and 2 deletions

View File

@@ -479,7 +479,7 @@ function DisplayPositionList()
} else {
$sql .= " WHERE 1 = 1";
}
$sql .= " AND t.fk_job = " . $fk_job . " ";
$sql .= " AND t.fk_job = " . ((int) $fk_job) . " ";
foreach ($search as $key => $val) {
if (array_key_exists($key, $object->fields)) {

View File

@@ -627,7 +627,7 @@ if ($action != "create" && $action != "edit") {
}
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.