diff options
author | friendica <info@friendica.com> | 2012-10-03 22:28:19 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-03 22:28:19 -0700 |
commit | e124c9fa5ca046d48eb927fe80706cf6d42f6bff (patch) | |
tree | 8df07cdd9a21c977bc961328cdc6a2f161a82988 /include/event.php | |
parent | d0f62d1219d035d92f3adb717d9fdbed03fa6dd5 (diff) | |
download | volse-hubzilla-e124c9fa5ca046d48eb927fe80706cf6d42f6bff.tar.gz volse-hubzilla-e124c9fa5ca046d48eb927fe80706cf6d42f6bff.tar.bz2 volse-hubzilla-e124c9fa5ca046d48eb927fe80706cf6d42f6bff.zip |
Can't see any posts currently - after the big shakeup, but we can now post top level activities and store them.
Diffstat (limited to 'include/event.php')
-rw-r--r-- | include/event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php index ea3631331..2d11c9cc8 100644 --- a/include/event.php +++ b/include/event.php @@ -209,7 +209,7 @@ function event_store($arr) { $arr['edited'] = (($arr['edited']) ? $arr['edited'] : datetime_convert()); $arr['type'] = (($arr['type']) ? $arr['type'] : 'event' ); $arr['cid'] = ((intval($arr['cid'])) ? intval($arr['cid']) : 0); - $arr['uri'] = (x($arr,'uri') ? $arr['uri'] : item_new_uri($a->get_hostname(),$arr['uid'])); + $arr['uri'] = (x($arr,'uri') ? $arr['uri'] : item_message_id()); $arr['private'] = ((x($arr,'private')) ? intval($arr['private']) : 0); if($arr['cid']) |