aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-14 15:53:31 -0800
committerfriendica <info@friendica.com>2013-11-14 15:53:31 -0800
commitc2274403c7c35eecc254da0a5b3778fbb2597148 (patch)
tree204f0f59cda5d9e6c3bfc5da34d636a6382fb98b /mod/photos.php
parent592c24e162400f87075c6cdc44b795cdb94da836 (diff)
downloadvolse-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.php2
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>" ;
}