1
0
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:
loviuz 2021-03-03 15:20:05 +01:00
parent b516f3a6b6
commit b658b00c3f

View File

@ -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']);
}