Fixed minor error

Former-commit-id: 56aafe5689d627ac515c80b0158fc998992bd457
This commit is contained in:
samucarc 2019-01-18 17:33:29 +01:00
parent 0c9446fceb
commit 344589494a
1 changed files with 2 additions and 0 deletions

View File

@ -12339,6 +12339,8 @@ function api_set_reset_agent_counts ($id, $thrash1, $thrash2, $thrash3) {
$data = __('Successfully updated module/alert count in id agent %d.', $id);
if ($id == "All")
$data = __('Successfully updated module/alert count in all agents');
if ($return === false)
returnError('error_reset_agent_counts', 'Could not be updated module/alert counts in id agent %d.', $id);