Revision 209ae186
Added by Jim Pingle almost 7 years ago
src/usr/local/www/system_usermanager.php | ||
---|---|---|
310 | 310 |
$input_errors[] = gettext("Invalid internal Certificate Authority") . "\n"; |
311 | 311 |
} |
312 | 312 |
} |
313 |
validate_webguicss_field($input_errors, $_POST['webguicss']); |
|
314 |
validate_webguifixedmenu_field($input_errors, $_POST['webguifixedmenu']); |
|
315 |
validate_webguihostnamemenu_field($input_errors, $_POST['webguihostnamemenu']); |
|
316 |
validate_dashboardcolumns_field($input_errors, $_POST['dashboardcolumns']); |
|
313 | 317 |
|
314 | 318 |
if (!$input_errors) { |
315 | 319 |
|
Also available in: Unified diff
Validation for GUI custom settings. Fixes #8726
Add validation for customizable GUI setting fields and test submitted
values before allowing them to be stored.
Also ensure that dashboardcolumns is an integer before using it in the
GUI.
(cherry picked from commit 9ceace2562e718b9b460633847c12050fff96640)
(cherry picked from commit db7f2719b747da77805972f797c23654518d438e)