mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
fixed minor error
This commit is contained in:
parent
879884e6c3
commit
750e6e789c
@ -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?.'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user