aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-17 14:28:21 +0200
committermarijus <mario@mariovavti.com>2014-10-17 14:28:21 +0200
commitfd48d4d81d878928fe6821d3808eb578cb5088b4 (patch)
treef70cb68111df8836f41107552f287cc4d290179a /mod
parent7bbe700f3f170cc4527131165a9b9ab1f99e5cd1 (diff)
downloadvolse-hubzilla-fd48d4d81d878928fe6821d3808eb578cb5088b4.tar.gz
volse-hubzilla-fd48d4d81d878928fe6821d3808eb578cb5088b4.tar.bz2
volse-hubzilla-fd48d4d81d878928fe6821d3808eb578cb5088b4.zip
make lockview for photos work
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 2b859b7f1..85bd47399 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -956,7 +956,7 @@ function photos_content(&$a) {
$edit = array(
'edit' => t('Edit photo'),
- 'id' => $ph[0]['id'],
+ 'id' => print_r($ph[0]), //['id'],
'rotatecw' => t('Rotate CW (right)'),
'rotateccw' => t('Rotate CCW (left)'),
'albums' => $albums['albums'],
@@ -1114,7 +1114,7 @@ function photos_content(&$a) {
$photo_tpl = get_markup_template('photo_view.tpl');
$o .= replace_macros($photo_tpl, array(
- '$id' => $ph[0]['id'],
+ '$id' => $link_item['id'], //$ph[0]['id'],
'$album' => $album_e,
'$tools' => $tools,
'$lock' => $lock,