From 30a6b546b1c70ba31ff66bc17c5cf08b8f68d933 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Mon, 15 Feb 2016 09:23:36 +0100 Subject: [PATCH] containing function prefer use text values instead numeric --- htdocs/contact/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }