Skip to content
Snippets Groups Projects
Commit 735a6fd9 authored by goujonpa's avatar goujonpa
Browse files

foreign

parent 8e564a88
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,8 @@ class ForeignField extends Field {
}
public function show() {
$item = new {$this->name}();
$classname = $this->name;
$item = new $classname;
$item->select($this->value);
return $item->str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment