aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-02-16 13:12:22 +0100
committerMario Vavti <mario@mariovavti.com>2023-02-16 13:12:22 +0100
commit7839b931f1ec66ea576593f58f7141e8097bb201 (patch)
treefffcd4aa559995d4ee971b748084eb396c181e01 /Zotlabs/Module
parentcbf8c4bdb274f8d9c326961b9d0bf0c2a2ac35a0 (diff)
downloadvolse-hubzilla-7839b931f1ec66ea576593f58f7141e8097bb201.tar.gz
volse-hubzilla-7839b931f1ec66ea576593f58f7141e8097bb201.tar.bz2
volse-hubzilla-7839b931f1ec66ea576593f58f7141e8097bb201.zip
make sure we provide a created timestamp for likes and remove the workaround which returned the wrong date format
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Like.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 98fa7db5a..ef41faedd 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -546,6 +546,7 @@ class Like extends Controller {
$arr['deny_cid'] = $deny_cid;
$arr['deny_gid'] = $deny_gid;
$arr['item_private'] = $private;
+ $arr['created'] = datetime_convert();
call_hooks('post_local', $arr);