mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-30 17:58:46 +01:00
fix/avoid fatal on getStructure
This commit is contained in:
parent
effed359a6
commit
3561712b6d
@ -5062,7 +5062,7 @@ class emailadmin_imapbase
|
||||
'ids' => $uidsToFetch,
|
||||
))->first();
|
||||
|
||||
return $mail->getStructure();
|
||||
return is_object($mail)?$mail->getStructure():null;
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user