Bugfix - item_id

This commit is contained in:
Philipp Holzer 2019-05-29 21:40:21 +02:00
parent 766a10b3b6
commit 7334be803d
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 4 additions and 4 deletions

View file

@ -1504,7 +1504,7 @@ function photos_content(App $a)
'$title' => $title_e,
'$body' => $body_e,
'$ago' => Temporal::getRelativeDate($item['created']),
'$indent' => (($item['parent'] != $item['item_id']) ? ' comment' : ''),
'$indent' => (($item['parent'] != $item['id']) ? ' comment' : ''),
'$drop' => $drop,
'$comment' => $comment
]);
@ -1513,7 +1513,7 @@ function photos_content(App $a)
$comments .= Renderer::replaceMacros($cmnt_tpl, [
'$return_path' => '',
'$jsreload' => $return_path,
'$id' => $item['item_id'],
'$id' => $item['id'],
'$parent' => $item['parent'],
'$profile_uid' => $owner_uid,
'$mylink' => $contact['url'],