Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
0df49f1c
Commit
0df49f1c
authored
Apr 05, 2016
by
Côme Chilliet
Browse files
Fixes
#4478
Fixed errors when using some fields in csv import
parent
eb278520
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_template.inc
View file @
0df49f1c
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment