diff options
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index 72084665c..43c74851a 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -42,7 +42,7 @@ function photos_init(&$a) { $a->set_widget('photo_albums',photos_album_widget($a->data['channel'],$observer,$a->data['albums'])); } - $a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';</script>" ; + $a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "'; var profile_uid = " . (($a->data['channel']) ? $a->data['channel']['channel_id'] : 0) . "; </script>" ; } |