mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 19:25:22 +01:00
FIX : travis
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user