diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php
index bd9a4b781f5..32c0c1156b7 100644
--- a/htdocs/contact/card.php
+++ b/htdocs/contact/card.php
@@ -918,7 +918,7 @@ else
print '
';
$cate_arbo = $form->select_all_categories( Categorie::TYPE_CONTACT, null, null, null, null, 1 );
$c = new Categorie( $db );
- $cats = $c->containing( $object->id, Categorie::TYPE_CONTACT );
+ $cats = $c->containing( $object->id, 'contact' );
foreach ($cats as $cat) {
$arrayselected[] = $cat->id;
}
|