This commit is contained in:
Tobias Diekershoff 2012-03-31 10:20:45 +02:00
commit abecbd9212
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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']);