1
0
Fork 0

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

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