Fix warning

This commit is contained in:
Laurent Destailleur 2023-01-02 00:07:03 +01:00
parent a6847e9edc
commit cf1ff1e1f6

View File

@ -225,7 +225,7 @@ if ($action == 'create' || $object->fetch($id, $ref) > 0) {
// Type
print '<tr><td>'.$langs->trans("ResourceType").'</td>';
print '<td>';
$ret = $formresource->select_types_resource($object->fk_code_type_resource, 'fk_code_type_resource', '', 2);
$formresource->select_types_resource($object->fk_code_type_resource, 'fk_code_type_resource', '', 2);
print '</td></tr>';
// Description