projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c32bed9
)
Fixes unset viriables warnings.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 29 Nov 2010 15:32:18 +0000
(16:32 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Wed, 1 Dec 2010 12:37:47 +0000
(13:37 +0100)
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
81a5213
..
cbdc34e
100644
(file)
--- a/
classes/address.php
+++ b/
classes/address.php
@@
-191,6
+191,10
@@
class Address
$format['requireGeocoding'] = false;
$format['stripGeocoding'] = false;
$format['postalText'] = false;
+ } else {
+ foreach (array('requireGeocoding', 'stripGeocoding', 'postalText') as $type) {
+ $format[$type] = (isset($format[$type])) ? $format[$type] : false;
+ }
}
$this->text = trim($this->text);
if ($this->removed == 1) {