mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Fix: Force baseUrl being a string
This commit is contained in:
parent
68d9e1f33c
commit
b0f880d0eb
5 changed files with 8 additions and 8 deletions
|
@ -264,7 +264,7 @@ class Notify extends BaseRepository
|
|||
}
|
||||
}
|
||||
|
||||
$siteurl = $this->baseUrl;
|
||||
$siteurl = (string)$this->baseUrl;
|
||||
$sitename = $this->config->get('config', 'sitename');
|
||||
|
||||
// with $params['show_in_notification_page'] == false, the notification isn't inserted into
|
||||
|
@ -807,7 +807,7 @@ class Notify extends BaseRepository
|
|||
$epreamble = $msg['rich'];
|
||||
|
||||
$sitename = $this->config->get('config', 'sitename');
|
||||
$siteurl = $this->baseUrl;
|
||||
$siteurl = (string)$this->baseUrl;
|
||||
|
||||
$sitelink = $l10n->t('Please visit %s to view and/or reply to the conversation.');
|
||||
$tsitelink = sprintf($sitelink, $siteurl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue