aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-10 01:51:14 -0700
committerFriendika <info@friendika.com>2011-06-10 01:51:14 -0700
commit7c60701efc091945dd2ee14728263d8dae0f88b0 (patch)
tree054b0e893e244172062c24a58f57c95d0be67fce /mod/events.php
parentb857a49bfeecc91eaa5a09c9b9ded5b84516bc6e (diff)
downloadvolse-hubzilla-7c60701efc091945dd2ee14728263d8dae0f88b0.tar.gz
volse-hubzilla-7c60701efc091945dd2ee14728263d8dae0f88b0.tar.bz2
volse-hubzilla-7c60701efc091945dd2ee14728263d8dae0f88b0.zip
fixed a few feed problems affecting activity objects/targets
Diffstat (limited to 'mod/events.php')
-rw-r--r--mod/events.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php
index 052c0ef60..bdc4b8d87 100644
--- a/mod/events.php
+++ b/mod/events.php
@@ -159,8 +159,8 @@ function events_post(&$a) {
$arr['body'] = format_event_bbcode($event);
- $arr['object'] = '<object><type>' . ACTIVITY_OBJ_EVENT . '</type><title></title><id>' . $uri . '</id>';
- $arr['object'] .= '<content>' . format_event_bbcode($event) . '</content>';
+ $arr['object'] = '<object><type>' . xmlify(ACTIVITY_OBJ_EVENT) . '</type><title></title><id>' . xmlify($uri) . '</id>';
+ $arr['object'] .= '<content>' . xmlify(format_event_bbcode($event)) . '</content>';
$arr['object'] .= '</object>' . "\n";
$item_id = item_store($arr);