diff options
author | zottel <github@zottel.net> | 2012-03-19 09:34:39 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-19 09:34:39 +0100 |
commit | 6d31e3d6ef56e22ecedccaeb6846b52da501097b (patch) | |
tree | 86518b59c0318d8057a1a8503c6354ebaa96dae3 /mod/photos.php | |
parent | df78c9be0bab909dfa8cf196f7aaa4ea3423be8c (diff) | |
parent | 283bc51acf479eebd54145eb639c681980f6717b (diff) | |
download | volse-hubzilla-6d31e3d6ef56e22ecedccaeb6846b52da501097b.tar.gz volse-hubzilla-6d31e3d6ef56e22ecedccaeb6846b52da501097b.tar.bz2 volse-hubzilla-6d31e3d6ef56e22ecedccaeb6846b52da501097b.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/photos.php')
-rwxr-xr-x | mod/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index e40ae0d74..4406780d3 100755 --- a/mod/photos.php +++ b/mod/photos.php @@ -1069,7 +1069,7 @@ function photos_content(&$a) { if($can_post && ($ph[0]['uid'] == $owner_uid)) { $tools = array( 'edit' => array($a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $datum . (($cmd === 'edit') ? '' : '/edit'), (($cmd === 'edit') ? t('View photo') : t('Edit photo'))), - 'profile'=>array($a->get_baseurl() . '/profile_photo/use/'.$ph[0]['resource-id'], t('Use as profile photo')), + 'profile'=>array($a->get_baseurl() . '/profile_photo/use/'.$ph[0]['resource-id'] . '?form_security_token=' . get_form_security_token('profile_photo'), t('Use as profile photo')), ); // lock |