Commit 0df49f1c authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4478 Fixed errors when using some fields in csv import

Showing with 2 additions and 1 deletion
+2 -1
......@@ -64,7 +64,8 @@ class template
/* Used when you need to re-apply the same template with different values */
function reset()
{
list($this->attrs, ) = plugin::tpl_fetch_template($this->dn);
list($this->attrs, $depends) = plugin::tpl_fetch_template($this->dn);
$this->needed = plugin::tpl_needed_attrs($this->attrs, $depends); // This is needed because it removes %askme% values from attrs
$this->tabObject = objects::create($this->type);
$tempTabObject = objects::open($this->dn, $this->type); /* Used to know which tab is activated */
foreach ($tempTabObject->by_object as $class => &$plugin) {
......
  • bmortier @bmortier

    mentioned in issue #1425

    By bmgraves on 2017-09-02T15:26:06 (imported from GitLab)

    ·

    mentioned in issue #1425

    By bmgraves on 2017-09-02T15:26:06 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment