From e8961464173bdfe6f5daa247e5f65dd50e71abce Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 4 Jan 2012 10:55:43 +0000 Subject: [PATCH] Improve audit : add folder + call to audit if check failed (can_request, can_print, check_dossier) --- include/class_user.php | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/include/class_user.php b/include/class_user.php index 2b932cd6a..3cb744c3a 100644 --- a/include/class_user.php +++ b/include/class_user.php @@ -690,6 +690,7 @@ class User { if ($this->check_action($p_action) == 0) { + $this->audit('FAIL'); if ($p_js == 1) { echo "