no blocked users visible
authorKilian Saffran <ksaffran@dks.lu>
Thu, 28 Feb 2019 16:17:52 +0000 (17:17 +0100)
committerKilian Saffran <ksaffran@dks.lu>
Thu, 28 Feb 2019 16:17:52 +0000 (17:17 +0100)
tmpl/pages/avocats.php

index fbfce43..8149b35 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-  $sql = "SELECT case when srv.service = 'rendezvous' and srv.expiration >= CURRENT_DATE then 1 else null end as rendezvous_active,usr.* from users usr left join userservices srv on (usr.id=srv.id_user) where usr.usergroup in ('administrator','avocat') and usr.userblocked != 1 and usr.activationkey is null group by usr.id;";
+  $sql = "SELECT case when srv.service = 'rendezvous' and srv.expiration >= CURRENT_DATE then 1 else null end as rendezvous_active,usr.* from users usr left join userservices srv on (usr.id=srv.id_user) where usr.usergroup in ('administrator','avocat')  and usr.userblocked is null and usr.activationkey is null group by usr.id;";
   $avocats = $db->dbqueryall($sql);
   if ($avocats){
 ?>