From b2330c588d4a5a48369175bba1bec84dc70778f0 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 23 Nov 2011 22:40:20 +0000 Subject: [PATCH] audit impression --- html/export.php | 1 - include/class_user.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/html/export.php b/html/export.php index 8fa7d0c7e..320ec4d88 100644 --- a/html/export.php +++ b/html/export.php @@ -43,7 +43,6 @@ if ( $act=='X' || ! isset($_GET['act']) || $user->check_print($_GET['act'])==0 ) exit(); } - switch( $_GET['act']) { case 'CSV:histo': diff --git a/include/class_user.php b/include/class_user.php index f9570c028..180e5300a 100644 --- a/include/class_user.php +++ b/include/class_user.php @@ -715,6 +715,7 @@ class User function check_print($p_action) { global $audit,$cn; + $this->audit('AUDIT', $p_action); if ($this->Admin() == 1) return 1; if ($this->is_local_admin(dossier::id()) == 1)