@@ -67,7 +67,7 @@ $this->render('_menu',[ | |||
'attribute' => 'username', | |||
'label' => 'Nom', | |||
'value' => function($model) { | |||
if(isset($model['name_legal_person'])) { | |||
if(isset($model['name_legal_person']) && strlen($model['name_legal_person'])) { | |||
return $model['name_legal_person'] ; | |||
} | |||
else { |