aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-09-07 19:55:15 +0000
committerMario <mario@mariovavti.com>2023-09-07 19:55:15 +0000
commit1157dc7dc8544b190004bd014ee85c6e5e0441f3 (patch)
treed150db0634661a87501b14883999452f147b1d02 /Zotlabs
parente16aefec2c46760a1c78ce55dc82b801ef988689 (diff)
downloadvolse-hubzilla-1157dc7dc8544b190004bd014ee85c6e5e0441f3.tar.gz
volse-hubzilla-1157dc7dc8544b190004bd014ee85c6e5e0441f3.tar.bz2
volse-hubzilla-1157dc7dc8544b190004bd014ee85c6e5e0441f3.zip
make sure to set the other relevant dates aswell to omit discrepancies if they would be set a splitsecond later when we store the item
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Like.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 5779faa19..54daf6471 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -554,7 +554,14 @@ class Like extends Controller {
$arr['deny_cid'] = $deny_cid;
$arr['deny_gid'] = $deny_gid;
$arr['item_private'] = $private;
- $arr['created'] = datetime_convert();
+
+ $created = datetime_convert();
+
+ $arr['created'] = $created;
+ $arr['edited'] = $created;
+ $arr['commented'] = $created;
+ $arr['received'] = $created;
+ $arr['changed'] = $created;
call_hooks('post_local', $arr);