projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237f662
)
Address countryId field should be null if no country was found.
author
Stéphane Jacob
<sj@m4x.org>
Thu, 30 Sep 2010 17:05:21 +0000
(19:05 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Thu, 30 Sep 2010 17:05:40 +0000
(19:05 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/address.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/address.php
b/classes/address.php
index
36eac5b
..
0eac92c
100644
(file)
--- a/
classes/address.php
+++ b/
classes/address.php
@@
-166,6
+166,9
@@
class Address
$mailer->send();
}
}
+ if ($this->countryId == '') {
+ $this->countryId = null;
+ }
$this->geocodeChosen = null;
$this->phones = Phone::formatFormArray($this->phones, $this->error);
return !$this->error;