aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-19 10:49:41 +0000
committerMario <mario@mariovavti.com>2021-04-19 10:49:41 +0000
commiteded0f6c09475a138e042de4f6845d54e7a6e60c (patch)
tree14d69218f8af2d089ddcb1c0be111de90a7ce752 /include/import.php
parentb5049651ad360bdfeaf994c4be1ffb10d4acbeb4 (diff)
downloadvolse-hubzilla-eded0f6c09475a138e042de4f6845d54e7a6e60c.tar.gz
volse-hubzilla-eded0f6c09475a138e042de4f6845d54e7a6e60c.tar.bz2
volse-hubzilla-eded0f6c09475a138e042de4f6845d54e7a6e60c.zip
revert last part of previous commit -> see comment above the change
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index ea324ccb5..42fa2f247 100644
--- a/include/import.php
+++ b/include/import.php
@@ -734,7 +734,7 @@ function import_items($channel, $items, $sync = false, $relocate = null) {
// flags may have changed and we are probably relocating the post,
// so force an update even if we have the same timestamp
- if($item['edited'] > $r[0]['edited']) {
+ if($item['edited'] >= $r[0]['edited']) {
$item['id'] = $r[0]['id'];
$item['uid'] = $channel['channel_id'];
$item_result = item_store_update($item,$allow_code,$deliver);