🎨 Remove useless consecutive call

This commit is contained in:
Pierre Goiffon
2019-09-19 16:16:57 +02:00
parent 3f165c9803
commit dfcebfcbea

View File

@@ -3590,7 +3590,7 @@ abstract class DBObject implements iDisplay
$sStateAttCode = MetaModel::GetStateAttributeCode(get_class($this));
if (empty($sStateAttCode)) return array();
$sState = $this->Get(MetaModel::GetStateAttributeCode(get_class($this)));
$sState = $this->Get($sStateAttCode);
return MetaModel::EnumTransitions(get_class($this), $sState);
}