Update card.php

This commit is contained in:
Laurent Destailleur 2025-10-15 04:38:25 +02:00 committed by GitHub
parent 634e27d1f1
commit 80e7c42e3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,7 +217,7 @@ if (empty($reshook)) {
$sql .= " FROM llx_usergroup_rights as gr";
$sql .= " WHERE EXISTS (SELECT gu.rowid FROM llx_usergroup_user as gu WHERE gu.fk_user = ".((int) $id);
$sql .= " AND gu.fk_usergroup = gr.fk_usergroup))";
$resql = $db->query($sql);
while ($obj = $db->fetch_object($resql)) {
$rigthsarray []= $obj->id;