Fix evaluation interview module (#26183)
Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
This commit is contained in:
parent
b2ec9132ee
commit
aab0897bb6
3 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ $backtopageforcancel = GETPOST('backtopageforcancel', 'alpha');
|
|||
|
||||
$id = GETPOST('id', 'int');
|
||||
$ref = GETPOST('ref', 'alpha');
|
||||
$fk_job = GETPOST('fk_job', 'int');
|
||||
$fk_job = (GETPOSTISSET('fk_job') ? GETPOST('fk_job', 'int') : $id);
|
||||
$fk_user = GETPOST('fk_user', 'int');
|
||||
//$start_date = date('Y-m-d', GETPOST('date_startyear', 'int').'-'.GETPOST('date_startmonth', 'int').'-'.GETPOST('date_startday', 'int'));
|
||||
$start_date = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int'));
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@ if ($action != "create" && $action != "edit") {
|
|||
print getTitleFieldOfList($arrayfields['t.' . $key]['label'], 0, $_SERVER['PHP_SELF'], 't.' . $key, '', $param, (!empty($cssforfield) ? 'class="' . $cssforfield . '"' : ''), $sortfield, $sortorder, (!empty($cssforfield) ? $cssforfield . ' ' : '')) . "\n";
|
||||
}
|
||||
}
|
||||
print '<td></td>';
|
||||
//print '<td></td>';
|
||||
print '<td></td>';
|
||||
print '</tr>' . "\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||
}
|
||||
|
||||
// table of skillRank linked to current object
|
||||
$TSkillsJob = $skill->fetchAll('ASC', 't.rowid', 0, 0, array('customsql' => 'fk_object=' . ((int) $id) . " AND objecttype='" . $db->escape($objecttype) . "'"));
|
||||
$TSkillsJob = $skill->fetchAll('ASC', 't.rowid', 0, 0);
|
||||
|
||||
$TAlreadyUsedSkill = array();
|
||||
if (is_array($TSkillsJob) && !empty($TSkillsJob)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue