Skip to content

Commit

Permalink
QA: More tweaking for this error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Feb 7, 2024
1 parent b289f38 commit 6ebc38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions help.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
$username = 'unknown';
}

$message = sprintf('WARNING: Page:%s Generated a Fatal Error:%d for User:%s', $page, $error, $username);
$message = sprintf('WARNING: Cacti Page:%s for User:%s Generated a Fatal Error:%d', $page, $username, $error);

cacti_log($message, false);

if (debounce_run_notification('page_error_' . $page)) {
admin_email(__('Cacti System Warning'), __('WARNING: Cacti Page: %s Generated a Fatal Error %d!', $page, $error));
admin_email(__('Cacti System Warning'), __('WARNING: Cacti Page:%s for User:%s Generated a Fatal Error %d!', $page, $username, $error));
}
} elseif (isset_request_var('page')) {
get_filter_request_var('page', FILTER_CALLBACK, array('options' => 'sanitize_search_string'));
Expand Down

0 comments on commit 6ebc38d

Please sign in to comment.