aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-04 18:20:51 +0000
committerMario <mario@mariovavti.com>2021-10-04 18:20:51 +0000
commitb9ae396e74b93e089f1ce36d817025955a493cf8 (patch)
tree5fcedf85c74c664f36e1e116384e28595dc064d2
parent04c6d77d2cced4f2228be77107bbb85ee2f77562 (diff)
downloadvolse-hubzilla-b9ae396e74b93e089f1ce36d817025955a493cf8.tar.gz
volse-hubzilla-b9ae396e74b93e089f1ce36d817025955a493cf8.tar.bz2
volse-hubzilla-b9ae396e74b93e089f1ce36d817025955a493cf8.zip
unset id before syncing
-rw-r--r--Zotlabs/Lib/Apps.php3
1 files changed, 3 insertions, 0 deletions
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]);
}