mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
[various] Fix *_addon_admin_post parameters
This commit is contained in:
parent
2394700e29
commit
1d942d3205
2 changed files with 4 additions and 6 deletions
|
@ -42,7 +42,7 @@ function pageheader_addon_admin(App &$a, &$s)
|
|||
return;
|
||||
}
|
||||
|
||||
function pageheader_addon_admin_post(App $a, &$b)
|
||||
function pageheader_addon_admin_post(App $a)
|
||||
{
|
||||
if(!is_site_admin()) {
|
||||
return;
|
||||
|
@ -52,7 +52,7 @@ function pageheader_addon_admin_post(App $a, &$b)
|
|||
if (isset($_POST['pageheader-words'])) {
|
||||
Config::set('pageheader', 'text', trim(strip_tags($_POST['pageheader-words'])));
|
||||
}
|
||||
info(L10n::t('pageheader Settings saved.') . EOL);
|
||||
info(L10n::t('pageheader Settings saved.'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue