mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
avoid inserting same account_id multiple times, if it was somehow more then once in info_responsible
This commit is contained in:
parent
9a242207c0
commit
11e76ff9da
@ -855,7 +855,7 @@ function infolog_upgrade16_1_001()
|
||||
"info_responsible<>'0' AND info_responsible<>''", __LINE__, __FILE__,
|
||||
$n*$chunk_size, 'ORDER BY info_id', 'infolog', $chunk_size) as $row)
|
||||
{
|
||||
foreach(explode(',', $row['info_responsible']) as $responsible)
|
||||
foreach(array_unique(explode(',', $row['info_responsible'])) as $responsible)
|
||||
{
|
||||
if ($responsible)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user