Merge pull request #1639 from rabuzarus/albums_widget
fix photo_albums upload
This commit is contained in:
commit
c12a647f13
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ function photos_init(&$a) {
|
|||
'recent' => t('Recent Photos'),
|
||||
'$albums' => $albums['albums'],
|
||||
'$baseurl' => z_root(),
|
||||
'$upload' => array( t('Upload New Photos'), $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/upload/' . bin2hex($album)),
|
||||
'$upload' => array( t('Upload New Photos'), $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/upload'),
|
||||
'$can_post' => $can_post
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue