Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
43f3e46a
Commit
43f3e46a
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
parents
04044df3
b7d715f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/class/html.formmail.class.php
+8
-1
8 additions, 1 deletion
htdocs/core/class/html.formmail.class.php
with
8 additions
and
1 deletion
htdocs/core/class/html.formmail.class.php
+
8
−
1
View file @
43f3e46a
...
...
@@ -1032,7 +1032,14 @@ class FormMail extends Form
$this
->
substit
[
'__SIGNATURE__'
]
=
$user
->
signature
;
$this
->
substit
[
'__PERSONALIZED__'
]
=
''
;
$this
->
substit
[
'__CONTACTCIVNAME__'
]
=
''
;
// Will be replace just before sending
// Create dinamic tags for __EXTRAFIELD_FIELD__
$extrafields
=
new
ExtraFields
(
$this
->
db
);
$extralabels
=
$extrafields
->
fetch_name_optionals_label
(
$object
->
table_element
,
true
);
$object
->
fetch_optionals
(
$object
->
id
,
$extralabels
);
foreach
(
$extrafields
->
attribute_label
as
$key
=>
$label
)
{
$this
->
substit
[
'__EXTRAFIELD_'
.
strtoupper
(
$key
)
.
'__'
]
=
$object
->
array_options
[
'options_'
.
$key
];
}
//Fill substit_lines with each object lines content
if
(
is_array
(
$object
->
lines
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment