mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-16 13:28:49 +00:00
Fix new function name for getBaseurl()
This commit is contained in:
parent
9c275a4185
commit
3539a194c2
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function viewsrc_item_photo_menu(&$a, &$b)
|
|||
$item_id = $b['item']['id'];
|
||||
}
|
||||
|
||||
$b['menu'] = array_merge([L10n::t('View Source') => $a->get_baseurl() . '/viewsrc/'. $item_id], $b['menu']);
|
||||
$b['menu'] = array_merge([L10n::t('View Source') => $a->getBaseurl() . '/viewsrc/'. $item_id], $b['menu']);
|
||||
|
||||
//if((! local_user()) || (local_user() != $b['item']['uid']))
|
||||
// return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue