mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 12:03:41 +00:00
Merge pull request #1271 from MrPetovan/bug/fatal-errors
[cookienotice] Fix wrong type-hint in hook function cookienotice_page_end
This commit is contained in:
commit
ed1de0cd18
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ function cookienotice_page_content_top(App $a, string &$b)
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function cookienotice_page_end(App $a, array &$b)
|
function cookienotice_page_end(App $a, string &$b)
|
||||||
{
|
{
|
||||||
$text = (string)DI::config()->get('cookienotice', 'text', DI::l10n()->t('This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.'));
|
$text = (string)DI::config()->get('cookienotice', 'text', DI::l10n()->t('This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.'));
|
||||||
$oktext = (string)DI::config()->get('cookienotice', 'oktext', DI::l10n()->t('OK'));
|
$oktext = (string)DI::config()->get('cookienotice', 'oktext', DI::l10n()->t('OK'));
|
||||||
|
|
Loading…
Reference in a new issue