mirror of
https://github.com/friendica/friendica
synced 2025-04-23 03:10:12 +00:00
Fixes:
- fixed "get() on NULL invocation, PHP is case-sensitive here - renamed $this->baseurl to $this->baseUrl (instance) in MoveToAvatarCache to make it same as everywhere else
This commit is contained in:
parent
579758d8b1
commit
52d1b9905e
2 changed files with 7 additions and 7 deletions
|
@ -111,7 +111,7 @@ class Xrd extends BaseModule
|
|||
|
||||
private function printSystemJSON(array $owner)
|
||||
{
|
||||
$baseURL = $this->baseurl->get();
|
||||
$baseURL = $this->baseUrl->get();
|
||||
$json = [
|
||||
'subject' => 'acct:' . $owner['addr'],
|
||||
'aliases' => [$owner['url']],
|
||||
|
@ -157,7 +157,7 @@ class Xrd extends BaseModule
|
|||
|
||||
private function printJSON(string $alias, array $owner, array $avatar)
|
||||
{
|
||||
$baseURL = $this->baseurl->get();
|
||||
$baseURL = $this->baseUrl->get();
|
||||
$salmon_key = Salmon::salmonKey($owner['spubkey']);
|
||||
|
||||
$json = [
|
||||
|
@ -239,7 +239,7 @@ class Xrd extends BaseModule
|
|||
|
||||
private function printXML(string $alias, array $user, array $owner, array $avatar)
|
||||
{
|
||||
$baseURL = $this->baseurl->get();
|
||||
$baseURL = $this->baseUrl->get();
|
||||
$salmon_key = Salmon::salmonKey($owner['spubkey']);
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('xrd_person.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue