N°3791 - Fix crash when displaying object with a null state value

This commit is contained in:
Molkobain
2021-09-28 12:51:21 +02:00
parent 57b08b5b24
commit 4c6a7ca30b
3 changed files with 6 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ class ObjectDetails extends Panel implements iKeyboardShortcut
protected $sObjectMode;
/** @var string */
protected $sIconUrl;
/** @var string Code of the current value of the attribute carrying the state for $sClassName */
/** @var string|null Code of the current value of the attribute carrying the state for $sClassName */
protected $sStatusCode;
/** @var string Label of the current value of the attribute carrying the state for $sClassName */
protected $sStatusLabel;