mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 22:03:41 +00:00
Merge branch 'master' of https://github.com/friendica/friendica-addons
This commit is contained in:
commit
abecbd9212
2 changed files with 1 additions and 1 deletions
BIN
viewsrc.tgz
BIN
viewsrc.tgz
Binary file not shown.
|
@ -32,7 +32,7 @@ EOS;
|
|||
}
|
||||
|
||||
function viewsrc_item_photo_menu(&$a,&$b) {
|
||||
if(! local_user())
|
||||
if((! local_user()) || (local_user() != $b['item']['uid']))
|
||||
return;
|
||||
$b['menu'] = array_merge( array( t('View Source') => $a->get_baseurl() . '/viewsrc/'. $b['item']['id']), $b['menu']);
|
||||
|
||||
|
|
Loading…
Reference in a new issue