projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
806dd8b
)
Only cleans existing entreprise.
author
Stéphane Jacob
<sj@m4x.org>
Sat, 22 Jan 2011 18:30:10 +0000
(19:30 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 22 Jan 2011 18:30:10 +0000
(19:30 +0100)
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
4726e94
..
f0748cb
100644
(file)
--- a/
modules/profile/jobs.inc.php
+++ b/
modules/profile/jobs.inc.php
@@
-224,7
+224,7
@@
class ProfileSettingJob implements ProfileSetting
}
if (isset($job['removed']) && $job['removed']) {
- if ($job['name'] == '' && $entreprise) {
+ if ($job['name'] == '' && $entreprise
&& isset($entreprise[$entr_val - 1])
) {
$entreprise[$entr_val - 1]->clean();
}
unset($value[$key]);