fixed minor error

This commit is contained in:
Daniel Barbero Martin 2019-11-14 09:58:10 +01:00
parent 879884e6c3
commit 750e6e789c
1 changed files with 5 additions and 3 deletions

View File

@ -1311,12 +1311,14 @@ class Diagnostics extends Wizard
'status' => ($sum_threads < $totalServerThreads) ? 2 : 1,
];
if ($totalServerThreads > 0) {
if ($sum_threads < $totalServerThreads) {
$result['data']['total_threads']['message'] = __(
'Current pandora_server running threads'
);
$result['data']['total_threads']['message'] .= ' ';
$result['data']['total_threads']['message'] .= $totalServerThreads;
} else {
__(
'There\'s more pandora_server threads than configured, are you running multiple servers simultaneusly?.'
);
}
}