mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-02 10:17:53 +01:00
fix: header attività con anagrafica eliminata
This commit is contained in:
parent
e32d79dbc0
commit
b55f8cd000
@ -37,7 +37,7 @@ $anagrafica = $intervento->anagrafica;
|
||||
if ($intervento->idsede_destinazione) {
|
||||
$sede = $dbo->selectOne('an_sedi', '*', ['id' => $intervento->idsede_destinazione]);
|
||||
} else {
|
||||
$sede = $anagrafica->toArray();
|
||||
$sede = $anagrafica ? $anagrafica->toArray() : null;
|
||||
}
|
||||
|
||||
// Referente
|
||||
|
Loading…
x
Reference in New Issue
Block a user