projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323ac18
)
Fixes job's addresses fetching in profile.
author
Stéphane Jacob
<sj@m4x.org>
Fri, 15 Oct 2010 12:06:20 +0000
(14:06 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 15 Oct 2010 12:06:20 +0000
(14:06 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile/jobs.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/profile/jobs.inc.php
b/modules/profile/jobs.inc.php
index
7c65870
..
785a48f
100644
(file)
--- a/
modules/profile/jobs.inc.php
+++ b/
modules/profile/jobs.inc.php
@@
-88,7
+88,7
@@
class ProfileSettingJob implements ProfileSetting
$it = Address::iterate(array($page->pid()), array(Address::LINK_JOB));
while ($address = $it->next()) {
- $jobs[$address->
job
id]['w_address'] = $address->toFormArray();
+ $jobs[$address->id]['w_address'] = $address->toFormArray();
}
$it = Phone::iterate(array($page->pid()), array(Phone::LINK_JOB));
while ($phone = $it->next()) {