diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 99e803e649c..5e51383f42b 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -2237,7 +2237,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, 'user' ); foreach ($cats as $cat) { $arrayselected[] = $cat->id; }