Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
ec74b570
Commit
ec74b570
authored
Jun 14, 2017
by
Mario
Browse files
re-add type since the actual culprit was the X-ZOT prefix
parent
3f488e98
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/feedutils.php
View file @
ec74b570
...
...
@@ -1505,7 +1505,7 @@ function atom_entry($item, $type, $author, $owner, $comment = false, $cid = 0, $
if
((
$item
[
'parent'
]
!=
$item
[
'id'
])
||
(
$item
[
'parent_mid'
]
!==
$item
[
'mid'
])
||
((
$item
[
'thr_parent'
]
!==
''
)
&&
(
$item
[
'thr_parent'
]
!==
$item
[
'mid'
])))
{
$parent_item
=
((
$item
[
'thr_parent'
])
?
$item
[
'thr_parent'
]
:
$item
[
'parent_mid'
]);
$o
.
=
'<thr:in-reply-to ref="'
.
xmlify
(
$parent_item
)
.
'" href="'
.
xmlify
(
$item
[
'plink'
])
.
'" />'
.
"
\r\n
"
;
$o
.
=
'<thr:in-reply-to ref="'
.
xmlify
(
$parent_item
)
.
'"
" type="text/html"
href="'
.
xmlify
(
$item
[
'plink'
])
.
'" />'
.
"
\r\n
"
;
}
if
(
activity_match
(
$item
[
'obj_type'
],
ACTIVITY_OBJ_EVENT
)
&&
activity_match
(
$item
[
'verb'
],
ACTIVITY_POST
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment