diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index 41cb11626db..73b1694ecac 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -2338,7 +2338,7 @@ if ($id > 0) {
print '
';
print '';
- print '';
+ print '';
print '';
if (!is_null($withentity)) {
print '';
diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php
index db1e3b7bb17..e382a400727 100644
--- a/htdocs/fichinter/card.php
+++ b/htdocs/fichinter/card.php
@@ -1155,7 +1155,7 @@ if ($action == 'create') {
print ' | | '.$langs->trans("ThirdParty").' | ';
$filter = '(s.status:=:1)';
- print $form->select_company('', 'socid', $filter, 'SelectThirdParty', 1, 0, null, 0, 'minwidth300');
+ print $form->select_company('', 'socid', $filter, 'SelectThirdParty', 1, 0, array(), 0, 'minwidth300');
print ' ';
print ' |
';
print '';