mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-10 00:00:18 +01:00
fix: Correzione riferimenti permessi check
This commit is contained in:
parent
0902eca65c
commit
56dbdb0487
@ -277,7 +277,7 @@ switch (post('op')) {
|
||||
|
||||
//Riporto anche i permessi della check
|
||||
$users = [];
|
||||
$utenti = $dbo->table('zz_check_user')->where('id_check',$check_categoria['id'])->get();
|
||||
$utenti = $dbo->table('zz_check_user')->where('id_check',$check_impianto['id'])->get();
|
||||
foreach($utenti as $utente){
|
||||
$users[] = $utente->id_utente;
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ switch ($operazione) {
|
||||
|
||||
//Riporto anche i permessi della check
|
||||
$users = [];
|
||||
$utenti = $dbo->table('zz_check_user')->where('id_check',$check_categoria['id'])->get();
|
||||
$utenti = $dbo->table('zz_check_user')->where('id_check',$check_impianto['id'])->get();
|
||||
foreach($utenti as $utente){
|
||||
$users[] = $utente->id_utente;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user