mirror of
https://github.com/friendica/friendica
synced 2024-11-18 00:23:47 +00:00
Bugfix - item_id
This commit is contained in:
parent
766a10b3b6
commit
7334be803d
2 changed files with 4 additions and 4 deletions
|
@ -1504,7 +1504,7 @@ function photos_content(App $a)
|
||||||
'$title' => $title_e,
|
'$title' => $title_e,
|
||||||
'$body' => $body_e,
|
'$body' => $body_e,
|
||||||
'$ago' => Temporal::getRelativeDate($item['created']),
|
'$ago' => Temporal::getRelativeDate($item['created']),
|
||||||
'$indent' => (($item['parent'] != $item['item_id']) ? ' comment' : ''),
|
'$indent' => (($item['parent'] != $item['id']) ? ' comment' : ''),
|
||||||
'$drop' => $drop,
|
'$drop' => $drop,
|
||||||
'$comment' => $comment
|
'$comment' => $comment
|
||||||
]);
|
]);
|
||||||
|
@ -1513,7 +1513,7 @@ function photos_content(App $a)
|
||||||
$comments .= Renderer::replaceMacros($cmnt_tpl, [
|
$comments .= Renderer::replaceMacros($cmnt_tpl, [
|
||||||
'$return_path' => '',
|
'$return_path' => '',
|
||||||
'$jsreload' => $return_path,
|
'$jsreload' => $return_path,
|
||||||
'$id' => $item['item_id'],
|
'$id' => $item['id'],
|
||||||
'$parent' => $item['parent'],
|
'$parent' => $item['parent'],
|
||||||
'$profile_uid' => $owner_uid,
|
'$profile_uid' => $owner_uid,
|
||||||
'$mylink' => $contact['url'],
|
'$mylink' => $contact['url'],
|
||||||
|
|
|
@ -82,12 +82,12 @@ class Item extends BaseObject
|
||||||
'contact-id', 'type', 'wall', 'gravity', 'extid', 'icid', 'iaid', 'psid',
|
'contact-id', 'type', 'wall', 'gravity', 'extid', 'icid', 'iaid', 'psid',
|
||||||
'created', 'edited', 'commented', 'received', 'changed', 'verb',
|
'created', 'edited', 'commented', 'received', 'changed', 'verb',
|
||||||
'postopts', 'plink', 'resource-id', 'event-id', 'tag', 'attach', 'inform',
|
'postopts', 'plink', 'resource-id', 'event-id', 'tag', 'attach', 'inform',
|
||||||
'file', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'item_id', 'post-type',
|
'file', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'post-type',
|
||||||
'private', 'pubmail', 'moderated', 'visible', 'starred', 'bookmark',
|
'private', 'pubmail', 'moderated', 'visible', 'starred', 'bookmark',
|
||||||
'unseen', 'deleted', 'origin', 'forum_mode', 'mention', 'global', 'network',
|
'unseen', 'deleted', 'origin', 'forum_mode', 'mention', 'global', 'network',
|
||||||
'title', 'content-warning', 'body', 'location', 'coord', 'app',
|
'title', 'content-warning', 'body', 'location', 'coord', 'app',
|
||||||
'rendered-hash', 'rendered-html', 'object-type', 'object', 'target-type', 'target',
|
'rendered-hash', 'rendered-html', 'object-type', 'object', 'target-type', 'target',
|
||||||
'author-id', 'author-link', 'author-name', 'author-avatar', 'author-network',
|
'author-id', 'author-link', 'author-name', 'author-avatar',
|
||||||
'owner-id', 'owner-link', 'owner-name', 'owner-avatar'];
|
'owner-id', 'owner-link', 'owner-name', 'owner-avatar'];
|
||||||
|
|
||||||
// Never reorder or remove entries from this list. Just add new ones at the end, if needed.
|
// Never reorder or remove entries from this list. Just add new ones at the end, if needed.
|
||||||
|
|
Loading…
Reference in a new issue