mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix issue #1728
This commit is contained in:
@@ -1389,8 +1389,8 @@ function event_store_item($arr, $event) {
|
||||
// 'summary' => bbcode($arr['summary']),
|
||||
// RFC3339 Section 4.3
|
||||
'startTime' => (($arr['adjust']) ? datetime_convert('UTC', 'UTC', $arr['dtstart'], ATOM_TIME) : datetime_convert('UTC', 'UTC', $arr['dtstart'], 'Y-m-d\\TH:i:s-00:00')),
|
||||
'content' => bbcode($arr['description']),
|
||||
'location' => [ 'type' => 'Place', 'name' => bbcode($arr['location']) ],
|
||||
'content' => $arr['description'],
|
||||
'location' => [ 'type' => 'Place', 'name' => $arr['location'] ],
|
||||
'source' => [ 'content' => format_event_bbcode($arr), 'mediaType' => 'text/bbcode' ],
|
||||
'url' => [ [ 'mediaType' => 'text/calendar', 'href' => z_root() . '/events/ical/' . $event['event_hash'] ] ],
|
||||
'actor' => Activity::encode_person($z, false),
|
||||
|
||||
@@ -1795,7 +1795,6 @@ function prepare_body(&$item,$attach = false,$opts = false) {
|
||||
}
|
||||
|
||||
$event = (($item['obj_type'] === ACTIVITY_OBJ_EVENT) ? format_event_obj($item['obj']) : []);
|
||||
|
||||
$prep_arr = [
|
||||
'item' => $item,
|
||||
'html' => $event ? $event['content'] : $s,
|
||||
|
||||
Reference in New Issue
Block a user