projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86e920
)
Fixes job's address display.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 3 Apr 2011 12:42:50 +0000
(14:42 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 3 Apr 2011 12:42:50 +0000
(14:42 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/profilefields.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/profilefields.inc.php
b/include/profilefields.inc.php
index
6192575
..
2de1e6b
100644
(file)
--- a/
include/profilefields.inc.php
+++ b/
include/profilefields.inc.php
@@
-644,7
+644,7
@@
class ProfileJobs extends ProfileField
{
$a = $addresses->get(Profile::ADDRESS_PRO);
foreach ($a as $address) {
- if ($address->type == Address::LINK_JOB && array_key_exists($address->
job
id, $this->jobs)) {
+ if ($address->type == Address::LINK_JOB && array_key_exists($address->id, $this->jobs)) {
$this->jobs[$address->id]->setAddress($address);
}
}