aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-12-07 12:13:51 +0100
committerMario Vavti <mario@mariovavti.com>2015-12-07 12:13:51 +0100
commit69c9f4588c57a1159ab18c5987f99ea5471579d5 (patch)
tree7988e6d787fae50ba68e220c3e80665f33274b62 /include
parent53627c89a716fcd9bac535169710e65b229e96a5 (diff)
downloadvolse-hubzilla-69c9f4588c57a1159ab18c5987f99ea5471579d5.tar.gz
volse-hubzilla-69c9f4588c57a1159ab18c5987f99ea5471579d5.tar.bz2
volse-hubzilla-69c9f4588c57a1159ab18c5987f99ea5471579d5.zip
make justify gallery work with more than one albums per page (eg album widget)
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 89836f90c..bdb4cfa69 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1338,6 +1338,7 @@ function widget_album($args) {
$o .= replace_macros($tpl, array(
'$photos' => $photos,
'$album' => (($title) ? $title : $album),
+ '$album_id' => rand(),
'$album_edit' => array(t('Edit Album'), $album_edit),
'$can_post' => false,
'$upload' => array(t('Upload'), z_root() . '/photos/' . get_app()->profile['channel_address'] . '/upload/' . bin2hex($album)),