diff --git a/html/direct.php b/html/direct.php index d968d4283..53a1794d7 100644 --- a/html/direct.php +++ b/html/direct.php @@ -30,12 +30,13 @@ $g_user->check_dossier($_GET['gDossier']); $res=$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $3 order by code limit 5 ",array($g_user->get_profile(),$_POST['acs'],$_POST['acs'])); $nb=Database::num_row($res); echo ""; if ( $nb == 0 ) {