projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8023e6
)
Removes pending entreprises from validation if removed in the profile (Closes #1101).
author
Stéphane Jacob
<sj@m4x.org>
Sat, 26 Jun 2010 16:07:25 +0000
(18:07 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 26 Jun 2010 16:07:25 +0000
(18:07 +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
f50e762
..
cf11aec
100644
(file)
--- a/
modules/profile/jobs.inc.php
+++ b/
modules/profile/jobs.inc.php
@@
-199,7
+199,11
@@
class ProfileSettingJob extends ProfileSettingGeocoding
$job['name_error'] = true;
$success = false;
}
+
if (isset($job['removed']) && $job['removed']) {
+ if ($job['name'] == '' && $entreprise) {
+ $entreprise[$entr_val - 1]->clean();
+ }
array_splice($value, $key, 1);
}
}