mirror of
https://github.com/friendica/friendica
synced 2025-04-29 21:04:24 +02:00
Issue 4997: Avoid database duplicates
This commit is contained in:
parent
09a2c1d76b
commit
6d4f3e8ee2
2 changed files with 14 additions and 63 deletions
|
@ -1427,7 +1427,7 @@ class PortableContact
|
|||
}
|
||||
|
||||
foreach ($tags as $tag) {
|
||||
dba::insert('gserver-tag', ['gserver-id' => $gserver['id'], 'tag' => $tag]);
|
||||
dba::insert('gserver-tag', ['gserver-id' => $gserver['id'], 'tag' => $tag], true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue