Object details: Fix status code being set to the color instead of the code

This commit is contained in:
Molkobain
2021-07-22 18:12:11 +02:00
parent 29ca291860
commit 0760adcef6

View File

@@ -150,7 +150,7 @@ class ObjectDetails extends Panel implements iKeyboardShortcut
*/
public function SetStatus(string $sCode, string $sLabel, string $sColor)
{
$this->sStatusCode = $sColor;
$this->sStatusCode = $sCode;
$this->sStatusLabel = $sLabel;
$this->sStatusColor = $sColor;