Fix bad error message

This commit is contained in:
Samuel Georges 2015-01-21 20:02:16 +11:00
parent 39daf773bc
commit a0490c3a4e
1 changed files with 1 additions and 1 deletions

View File

@ -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
]));
}