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
087b026f
Commit
087b026f
authored
9 years ago
by
Phf
Browse files
Options
Downloads
Patches
Plain Diff
Add fetch extrafields in contact's fetch function
parent
cb0b0fba
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/contact/class/contact.class.php
+7
-0
7 additions, 0 deletions
htdocs/contact/class/contact.class.php
with
7 additions
and
0 deletions
htdocs/contact/class/contact.class.php
+
7
−
0
View file @
087b026f
...
...
@@ -628,6 +628,13 @@ class Contact extends CommonObject
}
}
// Retreive all extrafield for contact
// fetch optionals attributes and labels
require_once
(
DOL_DOCUMENT_ROOT
.
'/core/class/extrafields.class.php'
);
$extrafields
=
new
ExtraFields
(
$this
->
db
);
$extralabels
=
$extrafields
->
fetch_name_optionals_label
(
$this
->
table_element
,
true
);
$this
->
fetch_optionals
(
$this
->
id
,
$extralabels
);
return
1
;
}
else
...
...
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