diff --git a/htdocs/resource/card.php b/htdocs/resource/card.php
index 5c588b59c6b..3ee118d06c7 100644
--- a/htdocs/resource/card.php
+++ b/htdocs/resource/card.php
@@ -225,7 +225,7 @@ if ($action == 'create' || $object->fetch($id, $ref) > 0) {
// Type
print '
| '.$langs->trans("ResourceType").' | ';
print '';
- $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 ' |
';
// Description