Ops, wrong type

This commit is contained in:
Roland Häder 2022-06-23 07:28:13 +02:00
parent a2760cb1d1
commit af994b4818
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77

View file

@ -15,7 +15,7 @@ function buglink_install()
Hook::register('page_end', 'addon/buglink/buglink.php', 'buglink_active'); Hook::register('page_end', 'addon/buglink/buglink.php', 'buglink_active');
} }
function buglink_active(App $a, array &$b) function buglink_active(App $a, string &$b)
{ {
$b .= '<div id="buglink_wrapper" style="position: fixed; bottom: 5px; left: 5px;"><a href="https://github.com/friendica/friendica/issues" target="_blank" rel="noopener noreferrer" title="' . DI::l10n()->t('Report Bug') . '"><img src="addon/buglink/bug-x.gif" alt="' . DI::l10n()->t('Report Bug') . '" /></a></div>'; $b .= '<div id="buglink_wrapper" style="position: fixed; bottom: 5px; left: 5px;"><a href="https://github.com/friendica/friendica/issues" target="_blank" rel="noopener noreferrer" title="' . DI::l10n()->t('Report Bug') . '"><img src="addon/buglink/bug-x.gif" alt="' . DI::l10n()->t('Report Bug') . '" /></a></div>';
} }