diff --git a/html/ajax_card.php b/html/ajax_card.php
index 00a21f041..3906c6e9c 100644
--- a/html/ajax_card.php
+++ b/html/ajax_card.php
@@ -222,7 +222,7 @@ case 'bc':
/* Before inserting a new card, the type must be selected */
/* ------------------------------------------------------------ */
case 'st':
- $sql="select fd_id,fd_label from fiche_def";
+ $sql="select fd_id,fd_label,fd_description from fiche_def";
/* if we filter thanks the ledger*/
if ( $ledger != -1 )
{
@@ -275,7 +275,7 @@ case 'st':
}
$sql.=" ".$where." order by fd_label";
- $array=$cn->make_array($sql);
+ $array=$cn->get_array($sql);
$html=HtmlInput::title_box(_("Choix de la catégorie"), $ctl);
if ( empty($array))
@@ -287,22 +287,40 @@ case 'st':
else
{
$r='';
- $r.='
';
+ $r.='
';
$r.=_("Choississez la catégorie de fiche à laquelle vous aimeriez ajouter une fiche").'