Merge pull request #1639 from rabuzarus/albums_widget

fix photo_albums upload
This commit is contained in:
fabrixxm 2015-06-01 08:34:18 +02:00
commit c12a647f13
1 changed files with 1 additions and 1 deletions

View File

@ -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
));
}