fix: Only map owner for user mapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -78,7 +78,7 @@ class DeckJsonService extends ABoardImportService {
|
||||
|
||||
public function mapMember($uid): ?string {
|
||||
$ownerMap = $this->mapOwner($uid);
|
||||
if ($ownerMap !== $uid) {
|
||||
if ($uid === $this->getImportService()->getData()->owner && $ownerMap !== $this->getImportService()->getData()->owner) {
|
||||
return $ownerMap;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user