aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-19 10:49:41 +0000
committerMario <mario@mariovavti.com>2021-04-20 10:35:27 +0200
commit76fd81fad1aa46aa13b3a5dd274b55a2f3b528c5 (patch)
tree35320eff4e3a10faca5ed1cc386a7859f0bbf51e
parent1cfcffc510493b2377cd62008eb2f4861a21544a (diff)
downloadvolse-hubzilla-76fd81fad1aa46aa13b3a5dd274b55a2f3b528c5.tar.gz
volse-hubzilla-76fd81fad1aa46aa13b3a5dd274b55a2f3b528c5.tar.bz2
volse-hubzilla-76fd81fad1aa46aa13b3a5dd274b55a2f3b528c5.zip
revert last part of previous commit -> see comment above the change
(cherry picked from commit eded0f6c09475a138e042de4f6845d54e7a6e60c)
-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);