diff options
author | mrjive <mrjive@mrjive.it> | 2016-01-03 09:52:37 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2016-01-03 09:52:37 +0100 |
commit | 07f5bdde60f55e3b217aee9e33c3175e90a5f0f1 (patch) | |
tree | 2b5988c7661c9a5a67f5da8797ca57381e2aad7a /include/widgets.php | |
parent | 051346325609f5f2e78ef0deaf182c65d7823bbc (diff) | |
parent | 5b0a17359d6b5b3e27219c9e56117f1017996175 (diff) | |
download | volse-hubzilla-07f5bdde60f55e3b217aee9e33c3175e90a5f0f1.tar.gz volse-hubzilla-07f5bdde60f55e3b217aee9e33c3175e90a5f0f1.tar.bz2 volse-hubzilla-07f5bdde60f55e3b217aee9e33c3175e90a5f0f1.zip |
Merge pull request #10 from redmatrix/master
updating from original codebase
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index 89836f90c..4b14d6c94 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1299,7 +1299,6 @@ function widget_album($args) { //edit album name $album_edit = null; - $photos = array(); if($r) { $twist = 'rotright'; @@ -1338,6 +1337,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)), |