Oubli de changer dans CFGSEC

This commit is contained in:
Dany De Bontridder 2016-01-30 22:59:31 +01:00
parent cce45d454f
commit 3f962d8e60
3 changed files with 4 additions and 3 deletions

View file

@ -68,8 +68,8 @@ if ( ! isset($_REQUEST['action']))
use_login,
use_admin
from ac_users left join jnt_use_dos using (use_id)
where use_login != 'phpcompta' and use_active=1
and (dos_id=$1 or (dos_id is null and use_admin=1))" . $ord_sql, array($gDossier));
where use_login != $2 and use_active=1
and (dos_id=$1 or (dos_id is null and use_admin=1))" . $ord_sql, array($gDossier,NOALYSS_ADMINISTRATOR));
$MaxUser = Database::num_row($user_sql);