diff options
author | friendica <info@friendica.com> | 2013-11-14 15:53:31 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-14 15:53:31 -0800 |
commit | c2274403c7c35eecc254da0a5b3778fbb2597148 (patch) | |
tree | 204f0f59cda5d9e6c3bfc5da34d636a6382fb98b /mod/photos.php | |
parent | 592c24e162400f87075c6cdc44b795cdb94da836 (diff) | |
download | volse-hubzilla-c2274403c7c35eecc254da0a5b3778fbb2597148.tar.gz volse-hubzilla-c2274403c7c35eecc254da0a5b3778fbb2597148.tar.bz2 volse-hubzilla-c2274403c7c35eecc254da0a5b3778fbb2597148.zip |
define js profile_uid in photos module
Diffstat (limited to 'mod/photos.php')
-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>" ; } |