Skip to content

Commit

Permalink
Fix error output test in status.php. Fixes #14777
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-p committed Sep 21, 2023
1 parent 54f5251 commit c81ecaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/local/pfSense/include/www/status_output.inc
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function status_log_add($name, $logfile, $number = 1000) {

function status_error_add($error) {
global $errors, $show_output, $console;
if ($show_output) {
if ($console) {
echo $error;
}
$errors[] = $error;
Expand Down

0 comments on commit c81ecaf

Please sign in to comment.