Skip to content
Snippets Groups Projects
Commit 5359a4e3 authored by cortylal's avatar cortylal
Browse files

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents 6cc3f90e 735a6fd9
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