Browse Source

fcntoolibar/dolibarr: fix typo

root 6 years ago
parent
commit
75b1b97f81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcntoolbox/dolibarr.py

+ 1 - 1
fcntoolbox/dolibarr.py

@@ -76,7 +76,7 @@ class Instance:
     if active_user == True:
     if active_user == True:
       sqlconds.append(sql.SQL('usr.statut=1'))
       sqlconds.append(sql.SQL('usr.statut=1'))
     elif active_user == False:
     elif active_user == False:
-      sqlconds.append(sql.SQL('usr.statut=1'))
+      sqlconds.append(sql.SQL('usr.statut=0'))
     if active_member == True:
     if active_member == True:
       sqlconds.append(sql.SQL('usr.fk_member=member.rowid AND member.statut=1'))
       sqlconds.append(sql.SQL('usr.fk_member=member.rowid AND member.statut=1'))
     elif active_member == False:
     elif active_member == False: