From 60e7c0ef2bec69cb8ab1abeb0001580b07ecfcaf Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 7 May 2021 15:56:53 +0200 Subject: [PATCH] Security : Check the folder --- html/compute.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/compute.php b/html/compute.php index b6114eb5a..f6f088065 100644 --- a/html/compute.php +++ b/html/compute.php @@ -51,6 +51,8 @@ foreach (array('t','c','p','q','n','gDossier') as $a) $cn=Dossier::connect(); $User=new User($cn); $User->Check(); +$User->check_dossier(Dossier::id()); + // Retrieve the rate of vat, it $t == -1 it means no VAT if ( $t != -1 && isNumber($t) == 1 ) {