Merge pull request #21248 from fboitel/fboitel-dev-scrutinizer-006
BUG FIX Attribute socid doesnt exist on class Salary, so we use -1 on form
This commit is contained in:
commit
4eebfc5874
@ -191,7 +191,7 @@ if ($object->id) {
|
||||
$morehtmlref .= '<input type="submit" class="button valignmiddle" value="'.$langs->trans("Modify").'">';
|
||||
$morehtmlref .= '</form>';
|
||||
} else {
|
||||
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1);
|
||||
$morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, -1, $object->fk_project, 'none', 0, 0, 0, 1);
|
||||
}
|
||||
} else {
|
||||
if (!empty($object->fk_project)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user