diff --git a/html/ajax_card.php b/html/ajax_card.php
index be231106c..2e102c3f2 100644
--- a/html/ajax_card.php
+++ b/html/ajax_card.php
@@ -257,6 +257,7 @@ case 'st':
$html.='';
break;
}
+ $sql.=" ".$where;
$array=$cn->make_array($sql);
$html=HtmlInput::anchor_close('select_card_div');
$html.=h2info('Choix de la catégorie');