Correcting class name for missing relation exception
This commit is contained in:
parent
cfac213217
commit
78fb9fb110
|
|
@ -73,7 +73,7 @@ class Relation extends FormWidgetBase
|
|||
if (!$this->model->hasRelation($this->relationName)) {
|
||||
throw new SystemException(Lang::get(
|
||||
'backend::lang.model.missing_relation',
|
||||
['class'=>get_class($this->controller), 'relation'=>$this->relationName]
|
||||
['class'=>get_class($this->model), 'relation'=>$this->relationName]
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue