Skip to content

Commit

Permalink
rexstan enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasKrais committed Apr 18, 2023
1 parent 881f55f commit 5c1fad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/settings.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
$link_ids = filter_input_array(INPUT_POST, ['REX_INPUT_LINK' => ['filter' => FILTER_VALIDATE_INT, 'flags' => FILTER_REQUIRE_ARRAY]]);
$link_names = filter_input_array(INPUT_POST, ['REX_LINK_NAME' => ['flags' => FILTER_REQUIRE_ARRAY]]);

$settings['link'] = !is_array($link_ids) ? 0 : $link_ids['REX_INPUT_LINK'][1];
$settings['link'] = is_array($link_ids['REX_INPUT_LINK']) ? $link_ids['REX_INPUT_LINK'][1] : 0;
$settings['linkname'] = trim($link_names['REX_LINK_NAME'][1]);
$settings['link_abmeldung'] = !is_array($link_ids) ? 0 : $link_ids['REX_INPUT_LINK'][2];
$settings['linkname_abmeldung'] = trim($link_names['REX_LINK_NAME'][2]);
Expand Down

0 comments on commit 5c1fad1

Please sign in to comment.