@@ -128,7 +128,7 @@ $this->addButton( | |||
'label' => 'Crédit', | |||
'format' => 'raw', | |||
'value' => function ($model) { | |||
if ($model->credit) { | |||
if ($model->credit && isset(Producer::$creditFunctioningArray[$model->credit_functioning])) { | |||
return '<span class="glyphicon glyphicon-euro"></span> ' . Producer::$creditFunctioningArray[$model->credit_functioning]; | |||
} | |||