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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a690ae05
Commit
a690ae05
authored
11 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: ref_ext was not loaded
parent
4958d17d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/contact/class/contact.class.php
+4
-4
4 additions, 4 deletions
htdocs/contact/class/contact.class.php
with
4 additions
and
4 deletions
htdocs/contact/class/contact.class.php
+
4
−
4
View file @
a690ae05
...
@@ -469,7 +469,7 @@ class Contact extends CommonObject
...
@@ -469,7 +469,7 @@ class Contact extends CommonObject
/**
/**
*
Charge l'
objet contact
*
Load
obje
c
t contact
*
*
* @param int $id id du contact
* @param int $id id du contact
* @param User $user Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact
* @param User $user Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact
...
@@ -481,8 +481,7 @@ class Contact extends CommonObject
...
@@ -481,8 +481,7 @@ class Contact extends CommonObject
$langs
->
load
(
"companies"
);
$langs
->
load
(
"companies"
);
$sql
=
"SELECT c.rowid, c.fk_soc, c.ref_ext, c.civilite as civilite_id, c.lastname, c.firstname,"
;
$sql
=
"SELECT c.rowid, c.fk_soc, c.civilite as civilite_id, c.lastname, c.firstname,"
;
$sql
.
=
" c.address, c.statut, c.zip, c.town,"
;
$sql
.
=
" c.address, c.statut, c.zip, c.town,"
;
$sql
.
=
" c.fk_pays as country_id,"
;
$sql
.
=
" c.fk_pays as country_id,"
;
$sql
.
=
" c.fk_departement,"
;
$sql
.
=
" c.fk_departement,"
;
...
@@ -511,6 +510,7 @@ class Contact extends CommonObject
...
@@ -511,6 +510,7 @@ class Contact extends CommonObject
$this
->
id
=
$obj
->
rowid
;
$this
->
id
=
$obj
->
rowid
;
$this
->
ref
=
$obj
->
rowid
;
$this
->
ref
=
$obj
->
rowid
;
$this
->
ref_ext
=
$obj
->
ref_ext
;
$this
->
civilite_id
=
$obj
->
civilite_id
;
$this
->
civilite_id
=
$obj
->
civilite_id
;
$this
->
lastname
=
$obj
->
lastname
;
$this
->
lastname
=
$obj
->
lastname
;
$this
->
firstname
=
$obj
->
firstname
;
$this
->
firstname
=
$obj
->
firstname
;
...
...
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