Fix bad error message
This commit is contained in:
parent
39daf773bc
commit
a0490c3a4e
|
|
@ -95,7 +95,7 @@ class RecordFinder extends FormWidgetBase
|
|||
|
||||
if (!$this->model->hasRelation($this->relationName)) {
|
||||
throw new SystemException(Lang::get('backend::lang.model.missing_relation', [
|
||||
'class' => get_class($this->controller),
|
||||
'class' => get_class($this->model),
|
||||
'relation' => $this->relationName
|
||||
]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue