projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only cleans existing entreprise.
[platal.git]
/
modules
/
profile
/
jobs.inc.php
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]);