mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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…
x
Reference in New Issue
Block a user