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)