fixed minor error

This commit is contained in:
Daniel Barbero Martin 2019-11-14 09:58:10 +01:00
parent 879884e6c3
commit 750e6e789c

View File

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