Fix last small bug for printing

This commit is contained in:
Dany De Bontridder 2018-03-19 23:55:31 +01:00
parent e69411f25f
commit b809cacbb6
3 changed files with 6 additions and 6 deletions

View file

@ -65,7 +65,7 @@ $g_user->Check();
$g_user->check_dossier($gDossier);
// Security
if ($g_user->check_jrn($jrn_id) == 'X') {
if ($jrn_id != 0 && $g_user->check_jrn($jrn_id) == 'X') {
/* Cannot Access */
NoAccess();
}