Skip to content

Commit

Permalink
Additional QA on #4423
Browse files Browse the repository at this point in the history
You need to be able to save the value ;)
  • Loading branch information
TheWitness committed Oct 16, 2021
1 parent 43baa25 commit 9747c22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pollers.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ function form_save() {
$save['dbhost'] = form_input_validate(get_nfilter_request_var('dbhost'), 'dbhost', '', true, 3);
$save['dbuser'] = form_input_validate(get_nfilter_request_var('dbuser'), 'dbuser', '', true, 3);
$save['dbpass'] = form_input_validate(get_nfilter_request_var('dbpass'), 'dbpass', '', true, 3);
$save['dbport'] = form_input_validate(get_nfilter_request_var('dbport'), 'dbport', '', true, 3);
$save['dbport'] = form_input_validate(get_nfilter_request_var('dbport'), 'dbport', '^[0-9]+$', true, 3);
$save['dbretries'] = form_input_validate(get_nfilter_request_var('dbretries'), 'dbretries', '^[0-9]+$', true, 3);
$save['dbssl'] = isset_request_var('dbssl') ? 'on':'';
$save['dbsslkey'] = form_input_validate(get_nfilter_request_var('dbsslkey'), 'dbsslkey', '', true, 3);
$save['dbsslcert'] = form_input_validate(get_nfilter_request_var('dbsslcert'), 'dbsslcert', '', true, 3);
Expand Down

0 comments on commit 9747c22

Please sign in to comment.