From b9ae396e74b93e089f1ce36d817025955a493cf8 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 4 Oct 2021 18:20:51 +0000 Subject: unset id before syncing --- Zotlabs/Lib/Apps.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs/Lib/Apps.php') diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index ad3ef9ab2..74ce1d408 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -715,6 +715,9 @@ class Apps { ); } + // unset the id before sync + unset($x[0]['id']); + if (intval($x[0]['app_system'])) { Libsync::build_sync_packet($uid, ['sysapp' => $x]); } -- cgit v1.2.3