diff --git a/cookienotice/cookienotice.php b/cookienotice/cookienotice.php index d6e71cf0..9eb77597 100644 --- a/cookienotice/cookienotice.php +++ b/cookienotice/cookienotice.php @@ -98,7 +98,7 @@ function cookienotice_page_content_top(App $a, string &$b) * * @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.')); $oktext = (string)DI::config()->get('cookienotice', 'oktext', DI::l10n()->t('OK'));