containing function prefer use text values instead numeric

This commit is contained in:
BENKE Charlie 2016-02-15 09:23:36 +01:00
parent 79b79e2acc
commit 30a6b546b1

View File

@ -918,7 +918,7 @@ else
print '<td colspan="3">';
$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;
}