Skip to content

Commit

Permalink
QA: Fixing input validation error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Feb 18, 2024
1 parent 02df7e4 commit a1884d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html_validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function die_html_input_error($variable = null, $value = null, $message = '') {
$func = CACTI_CLI ? 'trim' : 'html_escape';

if ($message == '') {
$message = __('Validation error for variable %s with a value of %s. See backtrace below for more details.', $variable, $value);
$message = __esc('Validation error for variable %s with a value of %s. See backtrace below for more details.', $variable, $value);
}

$variable = ($variable !== null ? ', Variable:' . $func($variable) : '');
Expand Down

0 comments on commit a1884d5

Please sign in to comment.