mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-27 06:04:54 +01:00
Fix filtro attività su ical
This commit is contained in:
parent
b516f3a6b6
commit
b658b00c3f
@ -44,7 +44,7 @@ class Sync extends Resource implements RetrieveInterface, UpdateInterface
|
||||
$query .= ' AND in_interventi_tecnici.idtecnico = '.prepare($user['idanagrafica']);
|
||||
}
|
||||
|
||||
if ($user->anagrafica->isTipo('Cliente')) {
|
||||
elseif ($user->anagrafica->isTipo('Cliente')) {
|
||||
$query .= ' AND in_interventi.idanagrafica = '.prepare($user['idanagrafica']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user