diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-09 05:25:01 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-09 05:25:01 -0700 |
commit | e8c39ff49fdb12461b375db8ab6591ced646f613 (patch) | |
tree | 706932cb6c3ef0465d879ef4b7cbb4833402db16 /include/notifier.php | |
parent | f1e17b1707ff1e0f8fafc2a5eae095332c0e8f48 (diff) | |
download | volse-hubzilla-e8c39ff49fdb12461b375db8ab6591ced646f613.tar.gz volse-hubzilla-e8c39ff49fdb12461b375db8ab6591ced646f613.tar.bz2 volse-hubzilla-e8c39ff49fdb12461b375db8ab6591ced646f613.zip |
found the missing comment box bug
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php index b94c21e71..24e54373a 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -162,6 +162,12 @@ } else { + require_once('include/items.php'); + + $verb = construct_verb($item); + $actobj = construct_activity($item); + + if($followup) { foreach($items as $item) { if($item['id'] == $item_id) { @@ -175,6 +181,10 @@ $item['created'] . '+00:00' , 'Y-m-d\TH:i:s\Z')), '$updated' => xmlify(datetime_convert('UTC', 'UTC', $item['edited'] . '+00:00' , 'Y-m-d\TH:i:s\Z')), + '$location' => xmlify($item['location']), + '$type' => 'text', + '$verb' => xmlify($verb), + '$actobj' => $actobj, '$content' => xmlify($item['body']), '$parent_id' => xmlify($item['parent-uri']), '$comment_allow' => 0 @@ -209,6 +219,9 @@ '$updated' => xmlify(datetime_convert('UTC', 'UTC', $item['edited'] . '+00:00' , 'Y-m-d\TH:i:s\Z')), '$location' => xmlify($item['location']), + '$type' => 'text', + '$verb' => xmlify($verb), + '$actobj' => $actobj, '$content' =>xmlify($item['body']), '$comment_allow' => (($item['last-child'] && strlen($contact['dfrn-id'])) ? 1 : 0) )); @@ -225,6 +238,10 @@ '$updated' => xmlify(datetime_convert('UTC', 'UTC', $item['edited'] . '+00:00' , 'Y-m-d\TH:i:s\Z')), '$content' =>xmlify($item['body']), + '$location' =>xmlify($item['location']), + '$type' => 'text', + '$verb' => xmlify($verb), + '$actobj' => $actobj, '$parent_id' => xmlify($item['parent-uri']), '$comment_allow' => (($item['last-child']) ? 1 : 0) )); |