mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
This commit is contained in:
parent
cff3dd67b0
commit
8fea67dade
11 changed files with 29 additions and 29 deletions
|
@ -48,7 +48,7 @@ function newmemberwidget_network_mod_init ($a, $b)
|
|||
function newmemberwidget_addon_admin_post(&$a)
|
||||
{
|
||||
$ft = (!empty($_POST['freetext']) ? trim($_POST['freetext']) : "");
|
||||
$lsn = (!empty($_POST['localsupportname']) ? trim($_POST['localsupportname']) : "");
|
||||
$lsn = trim($_POST['localsupportname'] ?? '');
|
||||
$gs = intval($_POST['linkglobalsupport']);
|
||||
$ls = intval($_POST['linklocalsupport']);
|
||||
DI::config()->set('newmemberwidget', 'freetext', trim($ft));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue