diff --git a/html/ajax_card.php b/html/ajax_card.php index 119feb2b9..24dcdfabe 100644 --- a/html/ajax_card.php +++ b/html/ajax_card.php @@ -119,21 +119,35 @@ case 'dc': if ( $qcode != '') { $f->get_by_qcode($qcode); - $card=$f->Display(false); + $can_modify=$user->check_action(FIC); + + if ( $can_modify==1) + $card=$f->Display(false); + else + $card=$f->Display(true); if ( $card == 'FNT' ) { $html.='