aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-15 21:15:20 +0200
committermarijus <mario@mariovavti.com>2014-10-15 21:15:20 +0200
commit0c2d9edd83c41866cda939b12f5127e94022a276 (patch)
tree0cf57e1928ab87ac04e0dac7f9c14679c7635d31
parentaa0aa22b8ad5db1589331e985e82781949985269 (diff)
downloadvolse-hubzilla-0c2d9edd83c41866cda939b12f5127e94022a276.tar.gz
volse-hubzilla-0c2d9edd83c41866cda939b12f5127e94022a276.tar.bz2
volse-hubzilla-0c2d9edd83c41866cda939b12f5127e94022a276.zip
it seems we do not have an key called item_id here so must be id only
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index dc593f22b..611434078 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1070,7 +1070,7 @@ function photos_content(&$a) {
$body_e = prepare_text($item['body'],$item['mimetype']);
$comments .= replace_macros($template,array(
- '$id' => $item['item_id'],
+ '$id' => $item['id'],
'$mode' => 'photos',
'$profile_url' => $profile_link,
'$name' => $name_e,