diff --git a/include/acc_other_tax.inc.php b/include/acc_other_tax.inc.php index 3e3a74e66..83adf9be2 100644 --- a/include/acc_other_tax.inc.php +++ b/include/acc_other_tax.inc.php @@ -20,6 +20,7 @@ * @file * @brief manage the public.acc_other_tax */ +if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); ?>
*/ global $g_user; -if ( $g_user->check_module("OTAX") == 0) die(); +if (!defined('ALLOWED')) + die('Appel direct ne sont pas permis'); + +if ( $g_user->check_module("OTAX") == 0) die(""); try { $table=$http->request('table');