mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix PHP 8.0 TypeError: implode(): Argument #1 ($pieces) must be of type array, string given
This commit is contained in:
parent
47b3f5c239
commit
5aed6918bd
@ -1396,6 +1396,7 @@ class infolog_bo
|
|||||||
*/
|
*/
|
||||||
function import_mail($_addresses,$_subject,$_message,$_attachments,$_date)
|
function import_mail($_addresses,$_subject,$_message,$_attachments,$_date)
|
||||||
{
|
{
|
||||||
|
$names = $emails = [];
|
||||||
foreach($_addresses as $address)
|
foreach($_addresses as $address)
|
||||||
{
|
{
|
||||||
$names[] = $address['name'];
|
$names[] = $address['name'];
|
||||||
|
Loading…
Reference in New Issue
Block a user